material(...)
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.
material(indx : number) : Material;
Retrieves this object’s material from the specified slot.
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
indx | integer | Which material slot to return. |
Returns
Section titled “Returns”A Z.Material.