Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UUnrealEdEngine
Description
Helper function to recursively add the children of a given actor to the OutActorArray. This is used for Hide/Show Selected functions to hide/show their child hierarchy. Set bExcludeSelectedChildren to true when calling this function in a loop of all selected actors, we want the helper function to not travel down pre-selected children so there won't be duplicate entries and unnecessary complexity.
| Name | GetChildHierarchyOfSelectedActor |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Editor/UnrealEdEngine.h |
| Include Path | #include "Editor/UnrealEdEngine.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorActor.cpp |
static void GetChildHierarchyOfSelectedActor
(
TArray < AActor * > & OutActorArray,
AActor * ParentActor,
const bool bExcludeSelectedChildren,
const TOptional < bool > & bIsFindingHidden
)