Syntax
- resetMaterial()
Description
The resetMaterial operation resets the current shape's material to the initial shape's state, namely resets all material attributes.
Related
Examples
Using resetMaterial() to get rid of previous changes to the shape material. This guarantees all the material attributes (e.g. the texture) of the inserted asset are used. |