Format
typescript
Mesh.boundsclass: Mesh
Description
The bounding box of the mesh.
The bounding box is a cube that encompasses the entire geometric range of the mesh.
Parameters
| param_name | type | description |
|---|
Return
| type | description |
|---|---|
Bounds | The bounding box. |
Code Example
typescript
let mesh = Resources.Load<Mesh>(Mesh, "meshId");
mesh.bounds;