GameControllerDirectionEvent Class
Namespace: Stride.InputAssembly: Stride.Input.dll
An event to describe a change in game controller direction state
Derived from GameControllerDirectionEvent:
public class GameControllerDirectionEvent : InputEvent, IInputEventArgs
| Name | Description | |
|---|---|---|
| Fields | ||
| Direction | The new direction |
|
| Index | The index of the direction controller |
|
| Properties | ||
| GameController | The gamepad that sent this event |
|
| Methods | ||
| ToString() | ||
Fields
Direction
The new direction
public Direction Direction
Field Value
| Type | Description |
|---|---|
| Direction |
Index
The index of the direction controller
public int Index
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Properties
GameController
The gamepad that sent this event
public IGameControllerDevice GameController { get; }
Property Value
| Type | Description |
|---|---|
| IGameControllerDevice |
Methods
ToString()
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
System.Object.ToString()