Skip to content

Format

typescript
Mesh.isReadable

class: Mesh

Description

Whether the current mesh is enabled for read/write.

If the mesh supports read/write, it returns true; otherwise, it returns false.

Parameters

param_nametypedescription

Return

typedescription
booleanWhether read/write is enabled

Code Example

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