AActor::GetComponentsBoundingBox

Returns the world space bounding box of all components in this Actor.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

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 GetComponentsBoundingBox
(
    bool bNonColliding,
    bool bIncludeFromChildActors
) const

Remarks

Returns the world space bounding box of all components in this Actor.

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