Synced
EditorPlanarNavigation.Update
Section titled “EditorPlanarNavigation.Update”
- Advances pointer capture using logical button state rather than window-local release events.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Interactions
Declaration
Section titled “Declaration”public bool Inno.Editor.Interactions.EditorPlanarNavigation.Update(bool hovered, bool primaryPressed, bool middlePressed, bool primaryDown, bool middleDown, bool alt, bool allowAltPrimary = true)Parameters
Section titled “Parameters”Parameter hovered: Whether a new gesture may start in this canvas.
Parameter primaryPressed: Whether the primary button was pressed this frame.
Parameter middlePressed: Whether the middle button was pressed this frame.
Parameter primaryDown: Current global primary button state.
Parameter middleDown: Current global middle button state.
Parameter alt: Whether Alt is held when the gesture starts.
Parameter allowAltPrimary: Whether Alt-primary belongs to pan rather than another navigation mode.
Returns
Section titled “Returns”Whether this canvas owns the current pointer gesture.