vector of 4 signed shorts More...
Public Member Functions | |
Short4 (int x, int y, int z, int w) | |
constructor taking 4 scalar integers | |
Short4 (Vector4 v) | |
constructor taking a Vector4 | |
Vector4 | ToVector4 () |
return the vector as a Vector4 | |
bool | Equals (Short4 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== (Short4 v1, Short4 v2) |
equality operator | |
static bool | operator!= (Short4 v1, Short4 v2) |
not equals operator | |
Public Attributes | |
short | X |
X. | |
short | Y |
Y. | |
short | Z |
Z. | |
short | W |
W. |
vector of 4 signed shorts
Short4 | ( | int | x, |
int | y, | ||
int | z, | ||
int | w | ||
) |
constructor taking 4 scalar integers
x | x value to init with |
y | y value to init with |
z | z value to init with |
w | w value to init with |
bool Equals | ( | Short4 | 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
short W |
W.
short X |
X.
short Y |
Y.
short Z |
Z.