Table of Contents

Interface IVirtualButton

Namespace
Stride.Input
Assembly
Stride.Input.dll

Interface IVirtualButton

public interface IVirtualButton

Methods

GetValue(InputManager)

Gets the value associated with this virtual button from an input manager.

float GetValue(InputManager manager)

Parameters

manager InputManager

The manager.

Returns

float

System.Single.

IsDown(InputManager)

Indicate if the button is currently down

bool IsDown(InputManager manager)

Parameters

manager InputManager

The input manager

Returns

bool

IsPressed(InputManager)

Indicate if the button has been pressed since the last frame

bool IsPressed(InputManager manager)

Parameters

manager InputManager

The input manager

Returns

bool

IsReleased(InputManager)

Indicate if the button has been released since the last frame

bool IsReleased(InputManager manager)

Parameters

manager InputManager

The input manager

Returns

bool