Skip to content

Format

typescript
Mesh.normals

class: 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_nametypedescription

Return

typedescription
Vector3[]An array of normal vectors.

Code Example

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