Skip to main content
Version: 1.0.0-preview.36

Velaptor.Input.IAppInput<TState>

Velaptor

Velaptor.Input

IAppInput<TState> Interface

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

public interface IAppInput<out TState>
where TState : struct, System.ValueType, System.ValueType

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.