Struct GamePadThumbSticks
Describes the current thumb stick state of a GamePad device
Implements
Inherited Members
Namespace: OpenTK.Input
Assembly: cs.temp.dll.dll
Syntax
public struct GamePadThumbSticks : IEquatable<GamePadThumbSticks>
Properties
Left
Gets a Vector2 describing the state of the left thumb stick.
Declaration
public Vector2 Left { get; }
Property Value
Type | Description |
---|---|
Vector2 |
Right
Gets a Vector2 describing the state of the right thumb stick.
Declaration
public Vector2 Right { get; }
Property Value
Type | Description |
---|---|
Vector2 |
Methods
Equals(GamePadThumbSticks)
Determines whether the specified GamePadThumbSticks is equal to the current GamePadThumbSticks.
Declaration
public bool Equals(GamePadThumbSticks other)
Parameters
Type | Name | Description |
---|---|---|
GamePadThumbSticks | other | The GamePadThumbSticks to compare with the current GamePadThumbSticks. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Equals(Object)
Determines whether the specified System.Object is equal to the current GamePadThumbSticks.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The System.Object to compare with the current GamePadThumbSticks. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
GetHashCode()
Serves as a hash function for a GamePadThumbSticks object.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a hash table. |
Overrides
ToString()
Returns a System.String that represents the current GamePadThumbSticks.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current GamePadThumbSticks. |
Overrides
Operators
Equality(GamePadThumbSticks, GamePadThumbSticks)
Declaration
public static bool operator ==(GamePadThumbSticks left, GamePadThumbSticks right)
Parameters
Type | Name | Description |
---|---|---|
GamePadThumbSticks | left | A GamePadThumbSticks instance to test for equality. |
GamePadThumbSticks | right | A GamePadThumbSticks instance to test for equality. |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(GamePadThumbSticks, GamePadThumbSticks)
Declaration
public static bool operator !=(GamePadThumbSticks left, GamePadThumbSticks right)
Parameters
Type | Name | Description |
---|---|---|
GamePadThumbSticks | left | A GamePadThumbSticks instance to test for inequality. |
GamePadThumbSticks | right | A GamePadThumbSticks instance to test for inequality. |
Returns
Type | Description |
---|---|
System.Boolean |