Format
typescript
Mesh.subMeshesclass: Mesh
Description
Information about a submesh of a mesh.
Parameters
| param_name | type | description |
|---|
Return
| type | description |
|---|---|
SubMeshDescriptor[] | SubMeshDescriptor - The data of the submesh. |
Code Example
typescript
let mesh = Resources.Load<Mesh>(Mesh, "meshId");
mesh.subMeshes;