mask(...)
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.
mask(val: boolean): this;
Sets whether the VideoTexture is to be a mask.
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
val | boolean | Should be set to true if you plan on using the VideoTexture as a mask as it will insure it renders correctly |
Returns
Section titled “Returns”this