Skip to content

Format

typescript
Texture.wrapMode

class: Texture

Description

The texture coordinate wrap mode of the texture.

wrapMode is an enumeration value, for more details see TextureWrapMode.

Parameters

param_nametypedescription

Return

typedescription
TextureWrapModeThe texture coordinate wrap mode of the texture.

Code Example

typescript
let texture = Resources.Load<Texture>(Texture, "textureId");
texture.wrapMode;