Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates an input snapshot for one output viewport.

API: engine
Project: Inno.Rendering.Runtime

public Inno.Rendering.Runtime.RenderOutputInput.RenderOutputInput(Inno.Core.Mathematics.Vector2 pointerPosition, bool pointerInside, 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, bool interactionEnabled = true)

Parameter pointerPosition: Pointer coordinates relative to the viewport’s top-left corner.

Parameter pointerInside: Whether the pointer is within this output.

Parameter scrollDelta: Pointer wheel movement.

Parameter modifiers: Current keyboard modifiers.

Parameter keysPressed: Keys pressed this frame.

Parameter keysReleased: Keys released this frame.

Parameter buttonsPressed: Pointer buttons pressed this frame.

Parameter buttonsReleased: Pointer buttons released this frame.

Parameter textInput: Ordered Unicode text commits.

Parameter interactionEnabled: Whether the output may dispatch game interaction.