Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Advances pointer capture using logical button state rather than window-local release events.

API: scripting
Project: Inno.Editor.Interactions
Scope: Editor

public bool InnoEditor.Interactions.EditorPlanarNavigation.Update(bool hovered, bool primaryPressed, bool middlePressed, bool primaryDown, bool middleDown, bool alt, bool allowAltPrimary = true)

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.

Whether this canvas owns the current pointer gesture.