materials(...)
materials(val: (string | Texture | Material)[]): this;
Sets the array of materials for this ObjectType.
Parameters
Parameter | Type | Description |
---|---|---|
val | array of strings, Z.Textures, or Z.Materials | The array of the materials to set. |
Returns
this