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

API: scripting
Project: Inno.Rendering.Runtime
Scope: Runtime

public InnoEngine.Rendering.RenderOutputInput.RenderOutputInput(InnoEngine.Mathematics.Vector2 pointerPosition, bool pointerInside, 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, 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.