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.

enum Wrap { "repeat", "clamp" }

The wrap mode for textures. This determines how textures appear if they are sampled outside the image bounds on a face.

MemberDescription
repeatTexture repeats across the face.
clampEdge pixels of texture are stretched outwards to cover the face.