a scalar normalized unsigned byte More...
Public Member Functions | |
UByteN (float f) | |
constructor taking a float to convert to normalized unsigned byte | |
float | ToFloat () |
return the float value of this | |
bool | Equals (UByteN 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== (UByteN v1, UByteN v2) |
equality operator | |
static bool | operator!= (UByteN v1, UByteN v2) |
not equals operator | |
static implicit | operator float (UByteN v) |
float casting operator | |
static | operator UByteN (float f) |
normalized unsigned byte casting operator | |
Public Attributes | |
byte | Bits |
the byte data |
a scalar normalized unsigned byte
UByteN | ( | float | f | ) |
constructor taking a float to convert to normalized unsigned byte
f | the float to convert |
bool Equals | ( | UByteN | 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 | ( | UByteN | v | ) | [static] |
float casting operator
v | the value to convert to float |
static operator UByteN | ( | float | f | ) | [explicit, static] |
normalized unsigned byte casting operator
f | the float to convert to normalized unsigned byte |
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
byte Bits |
the byte data