setMaterials method

dynamic setMaterials(
  1. dynamic materialsInfo
)

Implementation

setMaterials(materialsInfo) {
  this.materialsInfo = this.convert(materialsInfo);
  this.materials = {};
  this.materialsArray = [];
  this.nameLookup = {};
}