Synced
EditorViewportTool.OnShortcut
Section titled “EditorViewportTool.OnShortcut”
- Handles a focused viewport shortcut before global action routing.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Interactions
Declaration
Section titled “Declaration”public virtual bool Inno.Editor.Interactions.EditorViewportTool.OnShortcut(Inno.Editor.Interactions.EditorViewportToolContext context, Inno.Editor.Interactions.EditorViewportShortcut shortcut)Parameters
Section titled “Parameters”Parameter context: Gesture and coordinate context.
Parameter shortcut: Pressed key sample.
Returns
Section titled “Returns”true when the tool consumed the key.