#include <ActionBus.h>
|
AZ::Crc32 | m_uri |
| Unique identifier for a particular action/shortcut.
|
|
QKeySequence | m_keySequence |
| The shortcut bound to this particular action.
|
|
QString | m_title |
| The title of the action to appear in the edit menu.
|
|
QString | m_statusTip |
| The tool/status tip to appear when mouse is hovered over the edit menu action.
|
|
AZStd::function< void()> | m_callback = nullptr |
| The operation to happen when the action is invoked.
|
|
AZ::EntityComponentIdPair | m_entityIdComponentPair { AZ::EntityId(), AZ::InvalidComponentId } |
|
Specific Action properties to be sent to a type implementing ActionOverrideRequests. The actions will be added and stored and will remain active until they are removed.
◆ SetEntityComponentIdPair()
ActionOverride & AzToolsFramework::ActionOverride::SetEntityComponentIdPair |
( |
const AZ::EntityComponentIdPair & |
entityCompoentIdPair | ) |
|
|
inline |
Set the Entity and Component this ActionOverride is associated with.
- Note
- This is important to call for actions associated with a specific entity/component.
◆ SetTip()
ActionOverride & AzToolsFramework::ActionOverride::SetTip |
( |
const QString & |
tip | ) |
|
|
inline |
Set the tooltip associated with this ActionOverride. Will appear in the Edit menu bar with mouse hover.
◆ SetTitle()
ActionOverride & AzToolsFramework::ActionOverride::SetTitle |
( |
const QString & |
title | ) |
|
|
inline |
Set the title associated with this ActionOverride. Will appear in the Edit menu bar.
◆ m_entityIdComponentPair
AZ::EntityComponentIdPair AzToolsFramework::ActionOverride::m_entityIdComponentPair { AZ::EntityId(), AZ::InvalidComponentId } |
The Entity and Component Id this Action is associated with.
The documentation for this struct was generated from the following file:
- Code/Framework/AzToolsFramework/AzToolsFramework/Viewport/ActionBus.h