Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 1.34 KB

Actor-GetBounds(bool_Vector3_Vector3).md

File metadata and controls

19 lines (16 loc) · 1.34 KB

Actor.GetBounds(bool, System.Numerics.Vector3, System.Numerics.Vector3) Method

Retrieves the bounding box of all components of the actor

public void GetBounds(bool onlyCollidingComponents, ref System.Numerics.Vector3 origin, ref System.Numerics.Vector3 extent);

Parameters

onlyCollidingComponents System.Boolean
If true, will only return the bounding box for components with enabled collision

origin System.Numerics.Vector3
The center of the actor in world space

extent System.Numerics.Vector3
Half the actor's size in 3D space