Class JoystickPosition
The Joystick Position class.
Inheritance
System.Object
JoystickPosition
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Input
Assembly: Phoenix.Abstractions.Input.dll
Syntax
public class JoystickPosition
Constructors
View SourceJoystickPosition()
Initializes a new instance of the JoystickPosition class
Declaration
public JoystickPosition()
JoystickPosition(Nullable<Single>, Nullable<Single>)
Initializes a new instance of the JoystickPosition class
Declaration
public JoystickPosition(float? x, float? y)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Single> | x | The optional X position for the joystick. Null indicates no change. |
System.Nullable<System.Single> | y | The optional Y position for the joystick. Null indicates no change. |
Properties
View SourceX
Gets or sets the X position for the joystick update. Null indicates no change.
Declaration
public float? X { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Single> |
Y
Gets or sets the Y position for the joystick update. Null indicates no change.
Declaration
public float? Y { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Single> |