Public Member Functions |
| 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 Member Functions |
static bool | operator== (Rgba c1, Rgba c2) |
| equality operator
|
static bool | operator!= (Rgba c1, Rgba c2) |
| not equals operator
|
Public Attributes |
byte | R |
| red
|
byte | G |
| green
|
byte | B |
| blue
|
byte | A |
| alpha
|
32 bit color struct, with 8 bits per channel