Skip to content

Format

typescript
Mesh.RecalculateBounds()

class: Mesh

Description

Recalculates the bounding volume of the mesh from its vertices.

Parameters

param_nametypedescription

Return

typedescription
void

Code Example

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