Synced
EditorViewportPointerEvent.Constructor
Section titled “EditorViewportPointerEvent.Constructor”
- Creates one viewport pointer sample.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Interactions
Declaration
Section titled “Declaration”public Inno.Editor.Interactions.EditorViewportPointerEvent.EditorViewportPointerEvent(int pointerId, Inno.Editor.Interactions.EditorViewportPointerPhase phase, Inno.Core.Mathematics.Vector2 screenPosition, Inno.Core.Mathematics.Vector2 worldPosition, int button, Inno.Core.Input.KeyModifier modifiers)Parameters
Section titled “Parameters”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.