32 bit color struct, with 8 bits per channel [詳細]
Public メソッド | |
Rgba (int r, int g, int b, int a) | |
constructor taking 4 integers | |
Rgba (Vector4 v) | |
constructor taking a Vector4 | |
Vector4 | ToVector4 () |
return the color as a Vector4 | |
bool | Equals (Rgba c) |
equality test | |
override bool | Equals (Object o) |
equality test | |
override string | ToString () |
get the string representation of color value | |
override int | GetHashCode () |
gets the hash code for this | |
Static Public メソッド | |
static bool | operator== (Rgba c1, Rgba c2) |
equality operator | |
static bool | operator!= (Rgba c1, Rgba c2) |
not equals operator | |
Public 変数 | |
byte | R |
red | |
byte | G |
green | |
byte | B |
blue | |
byte | A |
alpha |
32 bit color struct, with 8 bits per channel
Rgba | ( | int | r, |
int | g, | ||
int | b, | ||
int | a | ||
) |
constructor taking 4 integers
r | red |
g | green |
b | blue |
a | alpha |
bool Equals | ( | Rgba | c | ) |
equality test
c | the color 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
c1 | color 1 |
c2 | color 2 |
equality operator
c1 | color 1 |
c2 | color 2 |
override string ToString | ( | ) |
get the string representation of color value
byte A |
alpha
byte B |
blue
byte G |
green
byte R |
red