Skip to content

opacityMap(...)

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.

opacityMap(val: string): this;

opacityMap(val: Texture): this;

Sets the texture map that defines the transparency of the object’s surface.

Default Value: null

ParameterTypeDescription
valstring, Z.TextureThe texture that defines the transparency of the object’s surface.

this