GetComponents

Overload list

Windows
MacOS
Linux
Name Description

Public function Const

const TSet< ...

 

GetComponents()

Get a direct reference to the Components set rather than a copy with the null pointers removed.

Public function Const

void

 

GetComponents

(
    TArray< T*, AllocatorType >& ...,
    bool bIncludeFromChildActors
)

Get all components derived from class 'T' and fill in the OutComponents array with the result.

Public function Const

void

 

GetComponents

(
    TArray< UActorComponent*, Allo...,
    bool bIncludeFromChildActors
)

UActorComponent specialization of GetComponents() to avoid unnecessary casts.

Public function Const

void

 

GetComponents

(
    TSubclassOf< UActorComponent > Comp...,
    TArray< UActorComponent*, Allo...,
    bool bIncludeFromChildActors
)

Get all components derived from specified ComponentClass and fill in the OutComponents array with the result.

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