Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates one backend-neutral UI input snapshot.

API: engine
Project: Inno.UI

public Inno.UI.UiInputSnapshot.UiInputSnapshot(Inno.Core.Mathematics.Vector2 mousePosition, Inno.Core.Mathematics.Vector2 scrollDelta, Inno.Core.Input.KeyModifier modifiers, System.Collections.Generic.IReadOnlyCollection<Inno.Core.Input.KeyCode> keysPressed, System.Collections.Generic.IReadOnlyCollection<Inno.Core.Input.KeyCode> keysReleased, System.Collections.Generic.IReadOnlyCollection<Inno.Core.Input.MouseButton> buttonsPressed, System.Collections.Generic.IReadOnlyCollection<Inno.Core.Input.MouseButton> buttonsReleased, System.Collections.Generic.IReadOnlyList<string> textInput)

Parameter mousePosition: Pointer position in surface coordinates.

Parameter scrollDelta: Pointer wheel movement.

Parameter modifiers: Active keyboard modifiers.

Parameter keysPressed: Physical keys pressed this frame.

Parameter keysReleased: Physical keys released this frame.

Parameter buttonsPressed: Pointer buttons pressed this frame.

Parameter buttonsReleased: Pointer buttons released this frame.

Parameter textInput: Ordered Unicode text commits.