Format
typescript
Mesh.uv2class: 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_name | type | description |
|---|
Return
| type | description |
|---|---|
Vector2[] | The second set of mesh UV coordinate arrays. |
Code Example
typescript
let mesh = Resources.Load<Mesh>(Mesh, "meshId");
mesh.uv2;