UKismetSystemLibrary::GetActorListFromComponentList

Returns an array of unique actors represented by the given list of components.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetSystemLibrary.h

Include

#include "Kismet/KismetSystemLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/KismetSystemLibrary.cpp

Syntax

static void GetActorListFromComponentList
(
    const TArray< class UPrimitiveComponent * > & ComponentList,
    UClass * ActorClassFilter,
    TArray< class AActor * > & OutActorList
)

Remarks

Returns an array of unique actors represented by the given list of components.

Parameters

Parameter

Description

ComponentList

List of components.

ClassFilter

If set, will only return results of this class or subclasses of it.

OutActorList

Start of line segment.

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