class
SceneSelection
Handles scene object selection.
Triggers events when selection changes and allows the user to query current selection state.
Public
Constructors
SceneSelection
Methods
~SceneSelection
SetSelectedSceneObject
Currently selected scene object.
If there are multiple objects selected returns the first one.
GetSelectedSceneObject
SetSelectedSceneObjects
Currently selected set of scene objects.
GetSelectedSceneObjects
ClearSceneSelection
Deselects all currently selected scene objects.
PingSceneObject
Pings the scene object, highlighting it in its respective editors.
Fields
OnSceneObjectsAdded
Triggered when one or multiple scene objects is being added to the selection.
OnSceneObjectsRemoved
Triggered when one or multiple scene objects is being removed from the selection.
OnSelectionChanged
Triggered whenever scene object selection changes.
The provided parameters will contain the newly selected objects.
OnSceneObjectPing
Triggered when a scene object ping is requested.
Ping usually means the object will be highlighted in its respective editors.
Private
Methods
SceneSelectionChanged
Triggered when the scene object selection in the scene tree view changes.
UpdateTreeView
Updates scene tree view with new selection.
PruneDestroyedSceneObjects
Removes any destroyed scene objects from the provided scene object list.