Skip to content

materials(...)

Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.

materials(val: (string | Texture | Material)[]): this;

Sets the array of materials for this ObjectType.

ParameterTypeDescription
valarray of strings, Z.Textures, or Z.MaterialsThe array of the materials to set.

this