Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/USelection > API/Editor/UnrealEd/USelection/GetSelectedObjects
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Selection.h |
| Include | #include "Selection.h" |
template<class T>
int32 GetSelectedObjects
(
TArray < T * > & OutSelectedObjects
)
Remarks
Fills in the specified array with all selected objects of the desired type. The number of selected objects of the specified type.
Parameters
| Name | Description |
|---|---|
| OutSelectedObjects | [out] Array to fill with selected objects of type T |