Entity.UpdateOrientedBoundingBox (TraversalParams, Boolean) Method
Public Overridable Sub UpdateOrientedBoundingBox( _
ByVal data As TraversalParams, _
ByVal keepCurrent As Boolean _
)
This language is not supported or no code example is available.
Parameters
- data
- TraversalParams
Traversal data
- keepCurrent
- bool
When true, it avoid to overrides the current OBB if not needed
It needs to call Regen() method first(except for Mesh, Solid, FastPointCloud, Joint, Bar and LinearPath).
If a transformation is applied to the entity after regen (except for non uniform scale transformation) the OBB is already update (if it's not null).