AActor::CalculateComponentsBoundingBoxInLocalSpace

Calculates the actor space bounding box of all components in this Actor.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h

Include

#include "GameFramework/Actor.h"

Source

/Engine/Source/Runtime/Engine/Private/Actor.cpp

Syntax

virtual FBox CalculateComponentsBoundingBoxInLocalSpace
(
    bool bNonColliding,
    bool bIncludeFromChildActors
) const

Remarks

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.

Parameters

Parameter

Description

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss