Skip to content

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

ParameterTypeDescription
valZ.Texture.WrapThe clamp mode to set.

this