Skip to content

Format

typescript
Mesh.uv2

class: Mesh

Description

The second set of mesh UV coordinate arrays.

Texture coordinates determine how a texture is mapped onto a mesh surface during the rendering process, allowing for texture mapping effects on materials.

Parameters

param_nametypedescription

Return

typedescription
Vector2[]The second set of mesh UV coordinate arrays.

Code Example

typescript
let mesh = Resources.Load<Mesh>(Mesh, "meshId");
mesh.uv2;