Format
typescript
Mesh.isDynamicclass: 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_name | type | description |
|---|
Return
| type | description |
|---|---|
boolean | Whether it is marked as a dynamic mesh |
Code Example
typescript
let mesh = Resources.Load<Mesh>(Mesh, "meshId");
mesh.isDynamic;