InputButtonAxis
Namespace: Murder.Core.Input
Assembly: Murder.dll
public sealed struct InputButtonAxis
⭐ Constructors
public InputButtonAxis(Buttons up, Buttons left, Buttons down, Buttons right)
Parameters
up
Buttons
left
Buttons
down
Buttons
right
Buttons
public InputButtonAxis(Keys up, Keys left, Keys down, Keys right)
Parameters
up
Keys
left
Keys
down
Keys
right
Keys
public InputButtonAxis(GamepadAxis axis)
Parameters
axis
GamepadAxis
public InputButtonAxis(InputButton up, InputButton left, InputButton down, InputButton right)
Parameters
up
InputButton
left
InputButton
down
InputButton
right
InputButton
⭐ Properties
Down
public readonly InputButton Down;
Returns
InputButton
Left
public readonly InputButton Left;
Returns
InputButton
Right
public readonly InputButton Right;
Returns
InputButton
Single
public readonly T? Single;
Returns
T?
Source
public readonly InputSource Source;
Returns
InputSource
Up
public readonly InputButton Up;
Returns
InputButton
⭐ Methods
Check(InputState)
public Vector2 Check(InputState state)
Parameters
state
InputState
Returns
Vector2
ToString()
public virtual string ToString()
Returns
string
⚡