Skip to content

Format

typescript
Mesh.isDynamic

class: Mesh

Description

Checks if the current object is marked as a dynamic mesh.

If the return value is true, it means that the mesh is a dynamic mesh and can be frequently updated and modified at runtime. If the return value is false, it means that the mesh is a static mesh and will not be modified once created.

Parameters

param_nametypedescription

Return

typedescription
booleanWhether it is marked as a dynamic mesh

Code Example

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