Skip to content

Format

typescript
Mesh.vertexCount

class: Mesh

Description

The number of vertices in the mesh.

Parameters

param_nametypedescription

Return

typedescription
numberThe number of vertices.

Code Example

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