Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/AActor
Description
Calculates the actor space bounding box of all components in this Actor. This is slower than GetComponentsBoundingBox(), because the local bounds of the components are not cached they are recalculated every time this function is called.
| Name | CalculateComponentsBoundingBoxInLocalSpace |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
| Include Path | #include "GameFramework/Actor.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Actor.cpp |
virtual FBox CalculateComponentsBoundingBoxInLocalSpace
(
bool bNonColliding,
bool bIncludeFromChildActors
) const
Parameters
| Name | Remarks |
|---|---|
| bNonColliding | Indicates that you want to include non-colliding components in the bounding box |
| bIncludeFromChildActors | If true then recurse in to ChildActor components and find components of the appropriate type in those Actors as well |