Skip to content

Format

typescript
Mesh.subMeshes

class: Mesh

Description

Information about a submesh of a mesh.

Parameters

param_nametypedescription

Return

typedescription
SubMeshDescriptor[]SubMeshDescriptor - The data of the submesh.

Code Example

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