Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Serialisable version of the UnityEngine.Color structure.
Public Member Functions | |
Color (float r, float g, float b) | |
Instantiates color container. More... | |
Color (float r, float g, float b, float a) | |
Instantiates color container. More... | |
Color (UnityEngine.Color color) | |
Clones value from another instance. More... | |
override string | ToString () |
Converting to string. More... | |
Static Public Member Functions | |
static implicit | operator UnityEngine.Color (Color d) |
Casts value to Unity-like Color. More... | |
static implicit | operator Color (UnityEngine.Color d) |
Casts Unity-like value to Doloro-like color. More... | |
Public Attributes | |
float | r |
Red channel value. | |
float | g |
Green channel value. | |
float | b |
Blue channel value. | |
float | a |
Alpha channel value. | |
Properties | |
static Color | yellow [get] |
Yellow. RGBA is (1, 0.92, 0.016, 1), but the color is nice to look at! | |
static Color | clear [get] |
Completely transparent. RGBA is (0, 0, 0, 0). | |
static Color | grey [get] |
English spelling for gray. RGBA is the same (0.5, 0.5, 0.5, 1). | |
static Color | gray [get] |
Gray. RGBA is (0.5, 0.5, 0.5, 1). | |
static Color | magenta [get] |
Magenta. RGBA is (1, 0, 1, 1). | |
static Color | cyan [get] |
Cyan. RGBA is (0, 1, 1, 1). | |
static Color | red [get] |
Solid red. RGBA is (1, 0, 0, 1). | |
static Color | black [get] |
Solid black. RGBA is (0, 0, 0, 1). | |
static Color | white [get] |
Solid white. RGBA is (1, 1, 1, 1). | |
static Color | blue [get] |
Solid blue. RGBA is (0, 0, 1, 1). | |
static Color | green [get] |
Solid green. RGBA is (0, 1, 0, 1). | |
Doloro.BaseTypes.Color.Color | ( | float | r, |
float | g, | ||
float | b | ||
) |
Instantiates color container.
r | Red channel value. |
g | Green channel value. |
b | Blue channel value. |
Doloro.BaseTypes.Color.Color | ( | float | r, |
float | g, | ||
float | b, | ||
float | a | ||
) |
Instantiates color container.
r | Red channel value. |
g | Green channel value. |
b | Blue channel value. |
a | Alpha channel value. |
Doloro.BaseTypes.Color.Color | ( | UnityEngine.Color | color | ) |
Clones value from another instance.
color |
|
static |
Casts Unity-like value to Doloro-like color.
d | Input value. |
|
static |
Casts value to Unity-like Color.
d | Input value. |
override string Doloro.BaseTypes.Color.ToString | ( | ) |
Converting to string.