Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

var localBounds: Bounds;
Bounds localBounds;
localBounds as Bounds

Description

AABB of this Skinned Mesh in its local space.

It is precomputed on import for imported models based on animations associated with that model, which means that the bounding box might be much bigger than the mesh itself. It is recomputed every time when updateWhenOffscreen is enabled, but in this case it would be exactly the size of the mesh at that frame. See Also: updateWhenOffscreen.