opacity(...)
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.
opacity(v: number) : this;
Sets the transparency of the object’s surface. This replaces the need for an opacityMap.
Default value: 1
Recommended range: 0 - 1
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
v | number | The value to set the transparency of the object’s surface to. |
Returns
Section titled “Returns”this