Synced
- Provides script-friendly access to the current frame’s input snapshot.
Required contracts
Section titled “Required contracts”API: scripting
Inherits: object
Project: Inno.Input
Scope: Runtime
Declaration
Section titled “Declaration”public static class InnoEngine.Input.InputMembers
Section titled “Members”| 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. |