Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/USelection
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T * GetTop () |
Returns the first selected object. | Selection.h | |
| Returns the first selected object of the specified class. | Selection.h |
GetTop()
Description
Returns the first selected object.
| Name | GetTop |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Selection.h |
| Include Path | #include "Selection.h" |
template<class T>
T * GetTop()
The first selected object.
GetTop(const UClass , const UClass , bool)
Description
Returns the first selected object of the specified class.
| Name | GetTop |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Selection.h |
| Include Path | #include "Selection.h" |
UObject * GetTop
(
const UClass * InClass,
const UClass * RequiredInterface,
bool bArchetypesOnly
)
The first selected object of the specified class.
Parameters
| Name | Remarks |
|---|---|
| InClass | The class of object to return. Must be non-NULL. |
| RequiredInterface | [opt] Interface this class must implement to be returned. May be NULL. |
| bArchetypesOnly | [opt] true to only return archetype objects, false otherwise |