Skip to content

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

ParameterTypeDescription
vnumberThe value to set the transparency of the object’s surface to.

this