AbstractProtectedconstructorOptionalisInternalConstructor: booleanThis is similar to GetTranslatedBinding, but will also check if the binding is active. If not active, an empty ShortcutKey is returned.
The key combination that is used to trigger the action.
Changes the current binding flags.
Gets the action contexts.
The default binding for this shortcut action. If setting a new default binding, the current binding will be updated it's currently set to the default.
The default binding flags for this shortcut action. If setting a new default binding flag, the current binding will be updated it's currently set to the default.
Gets the effective priority for the action. This is the priority that will actually be used to resolve conflicts, it is calculated by multiplying the base action priority by all the base priorities of the parent contexts.
Gets the action identifier.
Checks if a bound shortcut action binding is active and has no other higher priority action using the same key.
Checks if the binding is currently set to the default and hasn't been customized by the user by calling SetBinding or SetTranslatedBinding.
Checks if the action is "effectively enabled", that is, it and all it's parent contexts are in enabled status.
A toggle that can be used to enable or disable the action. This does not dictate whether the action is effectively enabled or disabled, to check for it's effective status, taking parent contexts into consideration, use IsEffectivelyEnabled
Checks if the action shortcut binding are being held. If the action is not effectively enabled, this always returns false.
Checks if the action shortcut binding has been pressed in this frame. If the action is not effectively enabled, this always returns false.
Checks if the action shortcut binding has been released in this frame. If the action is not effectively enabled, this always returns false.
Gets the action name.
Gets the action full path.
A property that defines the base priority for the action. This is not the effective priority that will be used by the system to resolve conflicts, to get the effective priority use GetEffectivePriority
This is similar to SetBinding but sets an already translated binding. If DisablePlatformTranslation is not set, it will be set by this method.
Similar to GetDefaultBinding but translates the default binding to plaform specific binding.
Sets a new shortcut key binding to the action.
The key combination to be used to trigger the action.
A set of flags that can be used to customize the behavior of the binding.
True if the binding was added, false if it already existed and was not inserted.
The default binding for this shortcut action. If setting a new default binding, the current binding will be updated it's currently set to the default.
A shortcut action that can be triggered by the shortcut manager. Each action is associated to a shortcut context and has zero or more key bindings for it. If any of it's active key bindings are pressed and there are no other bindings with higher priority, the associated action callback will be triggered whenever the user presses the key combination.
If the context is "effectively enabled" and the action is also enabled, then the action is also "effectively enabled". This means that the action is registered with the shortcut manager and will respond to user key presses.