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.

Parameter Type Description
indx integer Which material slot to return.

A Z.Material.