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

API: scripting
Project: Inno.UI
Scope: Runtime

public InnoEngine.UI.UiInputSnapshot.UiInputSnapshot(InnoEngine.Mathematics.Vector2 mousePosition, InnoEngine.Mathematics.Vector2 scrollDelta, InnoEngine.Input.KeyModifier modifiers, System.Collections.Generic.IReadOnlyCollection<InnoEngine.Input.KeyCode> keysPressed, System.Collections.Generic.IReadOnlyCollection<InnoEngine.Input.KeyCode> keysReleased, System.Collections.Generic.IReadOnlyCollection<InnoEngine.Input.MouseButton> buttonsPressed, System.Collections.Generic.IReadOnlyCollection<InnoEngine.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.