a scalar normalized unsigned short More...
Public Member Functions | |
UShortN (float f) | |
constructor taking a float to convert to normalized unsigned short | |
float | ToFloat () |
return the float value of this | |
bool | Equals (UShortN v) |
equality test | |
override bool | Equals (Object o) |
equality test | |
override string | ToString () |
get the string representation of float value | |
override int | GetHashCode () |
gets the hash code for this | |
Static Public Member Functions | |
static bool | operator== (UShortN v1, UShortN v2) |
equality operator | |
static bool | operator!= (UShortN v1, UShortN v2) |
not equals operator | |
static implicit | operator float (UShortN v) |
float casting operator | |
static | operator UShortN (float f) |
normalized unsigned short casting operator | |
Public Attributes | |
ushort | Bits |
the short data |
a scalar normalized unsigned short
UShortN | ( | float | f | ) |
constructor taking a float to convert to normalized unsigned short
f | the float to convert |
bool Equals | ( | UShortN | v | ) |
equality test
v | the value 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
static implicit operator float | ( | UShortN | v | ) | [static] |
float casting operator
v | the value to convert to float |
static operator UShortN | ( | float | f | ) | [explicit, static] |
normalized unsigned short casting operator
f | the float to convert to normalized unsigned short |
not equals operator
v1 | value 1 |
v2 | value 2 |
equality operator
v1 | value 1 |
v2 | value 2 |
float ToFloat | ( | ) |
return the float value of this
override string ToString | ( | ) |
get the string representation of float value
ushort Bits |
the short data