Skip to content

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.

ParameterTypeDescription
indxintegerWhich material slot to return.

A Z.Material.