wrap(...)
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.
wrap(val: Texture.Wrap): this;
Sets the wrap mode of the texture.
Default value: Z.Texture.Wrap.repeat
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
val | Z.Texture.Wrap | The clamp mode to set. |
Returns
Section titled “Returns”this