| UObjectBase
|
Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/Selection.h |
Include |
#include "Selection.h" |
class USelection : public UObject
Manages selections of objects. Used in the editor for selecting objects in the various browser windows.
Name | Description | ||
---|---|---|---|
|
void |
BeginBatchSelectOperation() |
Call before beginning selection operations |
|
int32 |
CountSelections ( |
Untemplated version of CountSelections. |
|
int32 |
CountSelections ( |
Returns the number of selected objects of the specified type. |
|
USelection &... |
CreateActorSelection |
Returns the transient top-level package, which is useful for temporarily storing objects that should never be saved |
|
USelection &... |
CreateComponentSelection |
Returns the transient top-level package, which is useful for temporarily storing objects that should never be saved |
|
USelection &... |
CreateObjectSelection |
|
|
void |
Deselect ( |
Deselects the specified object. |
|
void |
DeselectAll ( |
Deselects all objects of the specified class, if no class is specified it deselects all objects. |
|
void |
EndBatchSelectOperation ( |
Should be called when selection operations are complete. |
|
void |
ForceBatchDirty() |
If batch selection is active, sets flag indicating something actually changed. |
|
UObject *... |
GetBottom ( |
Returns the last selected object of the specified class. |
|
T * |
GetBottom() |
Returns the last selected object. |
|
UTypedElemen... |
GetElementSelectionSet() |
Get the element selection set instance for this selection set, if any. |
|
UObject *... |
GetSelectedObject ( |
|
|
int32 |
GetSelectedObjects |
|
|
int32 |
GetSelectedObjects ( |
|
|
int32 |
GetSelectedObjects |
Fills in the specified array with all selected objects of the desired type. |
|
UObject *... |
GetTop |
Returns the first selected object of the specified class. |
|
T * |
GetTop() |
Returns the first selected object. |
|
bool |
IsBatchSelecting() |
|
|
bool |
IsClassSelected ( |
|
|
bool |
IsSelected ( |
Returns true if the specified object is non-NULL and selected. |
|
void |
NoteSelectionChanged() |
Manually invoke a selection changed notification for this set. |
|
void |
NoteUnknownSelectionChanged() |
Manually invoke a selection changed notification for no specific set. Legacy BSP code only! |
|
int32 |
Num() |
Returns the number of objects in the selection set. |
|
void |
Select ( |
Selects the specified object. |
|
void |
Select ( |
Selects or deselects the specified object, depending on the value of the bSelect flag. |
|
void |
SetElementSelectionSet ( |
Set the element selection set instance for this selection set. |
|
void |
ToggleSelect ( |
Toggles the selection state of the specified object. |
Name |
Description |
|
---|---|---|
|
FOnSelectionChanged |
Params: UObject* NewSelection |
|
FOnSelectionElementSelectionPtrChanged |
Event fired when the typed element selection set for a selection is changed |
Name |
Description |
---|---|
SelectionChangedEvent |
Called when selection in editor has changed |
SelectionElementSelectionPtrChanged |
Called when the assigned typed element selection pointer set for a selection is changed |
SelectNoneEvent |
Called to deselect everything |
SelectObjectEvent |
Called when an object has been selected (generally an actor) |