AActor::GetAllChildActors

Returns a list of all actors spawned by our Child Actor Components, including children of children.

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

void GetAllChildActors
(
    TArray< AActor * > & ChildActors,
    bool bIncludeDescendants
) const

Remarks

Returns a list of all actors spawned by our Child Actor Components, including children of children. This does not return the contents of the Children array

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