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.

Parameter Type Description
val array of strings, Z.Textures, or Z.Materials The array of the materials to set.

this