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