vector of 2 unsigned shorts More...
Public Member Functions | |
| UByte2 (int x, int y) | |
| constructor taking 2 scalar integers | |
| UByte2 (Vector2 v) | |
| constructor taking a Vector2 | |
| Vector2 | ToVector2 () |
| return the vector as a Vector2 | |
| bool | Equals (UByte2 v) |
| equality test | |
| override bool | Equals (Object o) |
| equality test | |
| override string | ToString () |
| get the string representation of vector value | |
| override int | GetHashCode () |
| gets the hash code for this | |
Static Public Member Functions | |
| static bool | operator== (UByte2 v1, UByte2 v2) |
| equality operator | |
| static bool | operator!= (UByte2 v1, UByte2 v2) |
| not equals operator | |
Public Attributes | |
| byte | X |
| X. | |
| byte | Y |
| Y. | |
vector of 2 unsigned shorts
| UByte2 | ( | int | x, |
| int | y | ||
| ) |
constructor taking 2 scalar integers
| x | x value to init with |
| y | y value to init with |
| bool Equals | ( | UByte2 | v | ) |
equality test
| v | the vector to compare this to |
| override bool Equals | ( | Object | o | ) |
equality test
| o | the object to compare this to |
| override int GetHashCode | ( | ) |
gets the hash code for this
not equals operator
| v1 | vector 1 |
| v2 | vector 2 |
equality operator
| v1 | vector 1 |
| v2 | vector 2 |
| override string ToString | ( | ) |
get the string representation of vector value
| byte X |
X.
| byte Y |
Y.