Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > AGameModeBase
- AActor::GetActorBounds()
- AGameModeBase::GetActorBounds()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/GameModeBase.h |
Include | #include "GameFramework/GameModeBase.h" |
virtual void GetActorBounds
&40;
bool bOnlyCollidingComponents,
FVector & Origin,
FVector & BoxExtent,
bool bIncludeFromChildActors
&41; const
Remarks
Returns the bounding box of all components that make up this Actor (excluding ChildActorComponents).
Parameters
Name | Description |
---|---|
bOnlyCollidingComponents | If true, will only return the bounding box for components with collision enabled. |
Origin | Set to the center of the actor in world space |
BoxExtent | Set to half the actor's size in 3d space |
bIncludeFromChildActors | If true then recurse in to ChildActor components |