#include <ViewportEditorModeTrackerNotificationBus.h>
Inherits AZ::EBusTraits.
|
using | BusIdType = ViewportEditorModeTrackerInfo::IdType |
|
|
| AZ_RTTI (ViewportEditorModeNotifications, "{9469DE39-6C21-423C-94FA-EF3A9616B14F}", AZ::EBusTraits) |
|
virtual void | OnEditorModeActivated (const ViewportEditorModesInterface &editorModeState, ViewportEditorMode mode) |
| Notifies subscribers of the a given viewport to the activation of the specified editor mode.
|
|
virtual void | OnEditorModeDeactivated (const ViewportEditorModesInterface &editorModeState, ViewportEditorMode mode) |
| Notifies subscribers of the a given viewport to the deactivation of the specified editor mode.
|
|
|
static void | Reflect (AZ::ReflectContext *context) |
|
|
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Multiple |
|
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::ById |
|
Provides a bus to notify when the different editor modes are entered/exit.
- Note
- The editor modes are not discrete states but rather each progression of mode retain the active the parent mode that the new mode progressed from.
The documentation for this class was generated from the following file:
- Code/Framework/AzToolsFramework/AzToolsFramework/API/ViewportEditorModeTrackerNotificationBus.h