setMaterials method

dynamic setMaterials(
  1. dynamic materialsInfo
)

Implementation

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