class
Selection
Handles selection not associated with any particular scene (e.g. resources).
Triggers events when selection changes and allows the user to query current selection state.
Public
Constructors
Selection
Methods
SetSelectedResourcesByPath
Currently selected set of resource paths.
All paths are relative to the project library imported resources folder.
GetSelectedResourcePaths
SetSelectedResourcesById
Currently selected set of resource IDs.
GetSelectedResourceIds
ClearResourceSelection
Deselects all currently selected resources.
PingResource
Pings the resource, highlighting it in its respective editors.
- relativeResourcePath
- Resource path relative to the project library imported resources folder.
staticInstance
Returns a reference to the module instance.
Module has to have been started up first otherwise an exception will be thrown.
staticInstancePtr
Returns a pointer to the module instance.
Module has to have been started up first otherwise an exception will be thrown.
staticShutDown
Shuts down this module and frees any resources it is using.
staticIsStarted
Query if the module has been started.
Fields
OnResourcesAdded
Triggered when one or multiple resources are being added to the selection.
Provided paths are relative to the project library imported resources folder.
OnResourcesRemoved
Triggered when one or multiple resources are being removed from the selection.
Provided paths are relative to the project library imported resources folder.
OnSelectionChanged
Triggered whenever resource selection changes.
The provided parameters will contain the newly resource paths. Provided resource paths are relative to the project library imported resources folder.
Protected
Methods
~Module<T>
OnStartUp
Override if you want your module to be notified once it has been constructed and started.
OnShutDown
Override if you want your module to be notified just before it is deleted.
staticInstanceInternal
Returns a singleton instance of this module.