Format
typescript
Mesh.normalsclass: Mesh
Description
An array of normal vectors for the vertices of the mesh.
Normals are vectors that point outward from the surface of the mesh. They are important for representing lighting and shadow effects.
Parameters
| param_name | type | description |
|---|
Return
| type | description |
|---|---|
Vector3[] | An array of normal vectors. |
Code Example
typescript
let mesh = Resources.Load<Mesh>(Mesh, "meshId");
mesh.normals;