Synced
InputSnapshot.IsKeyDown
Section titled “InputSnapshot.IsKeyDown”
- Determines whether a key is currently held.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Input
Declaration
Section titled “Declaration”public bool Inno.Input.InputSnapshot.IsKeyDown(Inno.Core.Input.KeyCode key)Parameters
Section titled “Parameters”Parameter key: The backend-neutral physical key.
Returns
Section titled “Returns”true when the key is held.