| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Selection.h |
Include |
#include "Engine/Selection.h" |
class USelection : public UObject
Manages selections of objects. Used in the editor for selecting objects in the various browser windows.
Name | Description | ||
---|---|---|---|
|
bIsBatchDirty |
Tracks whether the selection set changed during a batch selection operation |
|
|
bOwnsSelectionAnnotation |
||
|
SelectedClasses |
Tracks the most recently selected actor classes. Used for UnrealEd menus. |
|
|
SelectedObjects |
List of selected objects, ordered as they were selected. |
|
|
SelectionAnnotation |
Selection annotation for fast lookup |
|
|
SelectionMutex |
Tracks the number of active selection operations. |
Name | Description | |
---|---|---|
|
USelection ( |
|
|
USelection ( |
Name | Description | ||
---|---|---|---|
|
BeginBatchSelectOperation() |
Call before beginning selection operations |
|
|
TClassConstI... |
ClassConstItor() |
|
|
TClassIterat... |
ClassItor() |
|
|
CountSelections |
Untemplated version of CountSelections. |
|
|
CountSelections ( |
Returns the number of selected objects of the specified type. |
|
|
Deselect ( |
Deselects the specified object. |
|
|
DeselectAll ( |
Deselects all objects of the specified class, if no class is specified it deselects all objects. |
|
|
EndBatchSelectOperation ( |
Should be called when selection operations are complete. |
|
|
T * |
GetBottom() |
Returns the last selected object. |
|
UObject *... |
GetBottom ( |
Returns the last selected object of the specified class. |
|
const UObjec... |
GetSelectedObject ( |
|
|
UObject *... |
GetSelectedObject ( |
|
|
GetSelectedObjects |
||
|
GetSelectedObjects ( |
Fills in the specified array with all selected objects of the desired type. |
|
|
GetSelectedObjects ( |
||
|
UObject *... |
GetTop |
Returns the first selected object of the specified class. |
|
T * |
GetTop() |
Returns the first selected object. |
|
Initialize ( |
Initializes the selection set with an annotation used to quickly look up selection state |
|
|
IsBatchSelecting() |
||
|
IsClassSelected ( |
||
|
IsSelected ( |
Returns true if the specified object is non-NULL and selected. |
|
|
MarkBatchDirty() |
If batch selection is active, sets flag indicating something actually changed. |
|
|
Num() |
Returns the number of objects in the selection set. |
|
|
Select ( |
Selects the specified object. |
|
|
Select |
Selects or deselects the specified object, depending on the value of the bSelect flag. |
|
|
ToggleSelect ( |
Toggles the selection state of the specified object. |
Name |
Description |
---|---|
ClassArray |
|
FOnSelectionChanged |
Params: UObject* NewSelection |
ObjectArray |
|
TClassConstIterator |
|
TClassIterator |
Name |
Description |
---|---|
SelectionChangedEvent |
Called when selection in editor has changed |
SelectNoneEvent |
Called to deselect everything |
SelectObjectEvent |
Called when an object has been selected (generally an actor) |