Color
More information can be found in the Unity API Reference and maybe in the Unity Manual.
Constructors
Constructor |
Description |
|---|---|
Members
Member |
Description |
|---|---|
Methods
Method |
Description |
|---|---|
Static members
Member |
Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Static methods
Method |
Description |
|---|---|
Operators
Operator |
Description |
|---|---|
Details
-
class Color
-
Color Color(float r, float g, float b, float a)
-
Color Color(float r, float g, float b)
-
Color Color()
-
float a
-
float b
-
float g
-
const Color gamma
-
const float grayscale
-
const Color linear
-
const float maxColorComponent
-
float r
-
int GetHashCode()
-
string ToString()
-
string ToString(string format)
-
static const Color black
-
static const Color blue
-
static const Color clear
-
static const Color cyan
-
static const Color gray
-
static const Color green
-
static const Color grey
-
static const Color magenta
-
static const Color red
-
static const Color white
-
static const Color yellow
-
static Color HSVToRGB(float H, float S, float V)
-
static Color HSVToRGB(float H, float S, float V, bool hdr)
-
static void RGBToHSV(Color rgbColor, float H, float S, float V)
-
Color Color(float r, float g, float b, float a)