Skip to main content
Version: Next

Velaptor.Input.IAppInput<TState>

Velaptor

Velaptor.Input

IAppInput&lt;TState&gt; Interface

Gets the state of game-specific input such as a mouse or keyboard.

public interface IAppInput<out TState>
where TState : struct

Type parameters

TState

The state of the input.

Methods

GetState()

Returns the current state of the input.

TState GetState();

Returns

TState
The state of the input.