Actor-GetBounds(bool_Vector3_Vector3).md
April 18, 2021 ยท View on GitHub
UnrealEngine.Framework.Actor
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