Skip to content

Format

typescript
Mesh.bounds

class: 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_nametypedescription

Return

typedescription
BoundsThe bounding box.

Code Example

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