opacityMap(...)
opacityMap(val: string): this;
opacityMap(val: Texture): this;
Sets the texture map that defines the transparency of the object's surface.
Default Value: null
Parameters
Parameter | Type | Description |
---|---|---|
val | string, Z.Texture | The texture that defines the transparency of the object's surface. |
Returns
this