USelection::GetSelectedObjects

Fills in the specified array with all selected objects of the desired type.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Selection.h

Include

#include "Engine/Selection.h"

Syntax

template<class T>
int32 GetSelectedObjects
(
    TArray< T * > & OutSelectedObjects
)

Remarks

Fills in the specified array with all selected objects of the desired type.

Returns

The number of selected objects of the specified type.

Parameters

Parameter

Description

OutSelectedObjects

[out] Array to fill with selected objects of type T

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