Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Provides script-friendly access to the current frame’s input snapshot.

API: scripting
Inherits: object
Project: Inno.Input
Scope: Runtime

public static class InnoEngine.Input.Input
Kind Element Description
Methods Input.IsKeyDown Determines whether a key is currently held.
Methods Input.IsMouseButtonDown Determines whether a pointer button is currently held.
Methods Input.WasKeyPressed Determines whether a key was newly pressed this frame.
Methods Input.WasKeyReleased Determines whether a key was newly released this frame.
Methods Input.WasMouseButtonPressed Determines whether a pointer button was newly pressed this frame.
Methods Input.WasMouseButtonReleased Determines whether a pointer button was newly released this frame.
Properties Input.mouseDelta Gets pointer movement accumulated during this frame.
Properties Input.mousePosition Gets the current pointer position in window coordinates.
Properties Input.scrollDelta Gets wheel movement accumulated during this frame.
Properties Input.snapshot Gets the complete immutable current-frame snapshot.