Synced
RenderOutputInput.Constructor
Section titled “RenderOutputInput.Constructor”
- Creates an input snapshot for one output viewport.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Runtime
Scope: Runtime
Declaration
Section titled “Declaration”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)Parameters
Section titled “Parameters”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.