Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Creates one viewport pointer sample.

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

public InnoEditor.Interactions.EditorViewportPointerEvent.EditorViewportPointerEvent(int pointerId, InnoEditor.Interactions.EditorViewportPointerPhase phase, InnoEngine.Mathematics.Vector2 screenPosition, InnoEngine.Mathematics.Vector2 worldPosition, int button, InnoEngine.Input.KeyModifier modifiers)

Parameter pointerId: Platform pointer identity.

Parameter phase: Gesture lifecycle phase.

Parameter screenPosition: Viewport-local pixel position.

Parameter worldPosition: Corresponding world position.

Parameter button: Platform button number.

Parameter modifiers: Active keyboard modifiers.