USceneComponent::GetChildrenComponents

Gets all components that are attached to this component, possibly recursively

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SceneComponent.h

Include

#include "Components/SceneComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SceneComponent.cpp

Syntax

void GetChildrenComponents
(
    bool bIncludeAllDescendants,
    TArray< USceneComponent * > & Children
) const

Remarks

Gets all components that are attached to this component, possibly recursively

Parameters

Parameter

Description

bIncludeAllDescendants

Whether to include all descendants in the list of children (i.e. grandchildren, great grandchildren, etc.)

Children

The list of attached child components

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