|
static Vector3 | ToVector3 (this Color c) |
|
static Vector4 | ToVector4 (this Color c) |
|
static Color32 | ToColor32 (this Color c) |
|
static string | ToHexRGB (this Color color) |
|
static string | ToHexRGBA (this Color color) |
|
static float float float float k | ToCmyk (this Color col) |
|
static Color | InvertRgb (this Color color) |
|
static Color | WithRed (this Color color, float red) |
|
static Color | WithGreen (this Color color, float green) |
|
static Color | WithBlue (this Color color, float blue) |
|
static Color | WithAlpha (this Color color, float alpha) |
|
static Color | ScaledRed (this Color color, float red) |
|
static Color | ScaledGreen (this Color color, float green) |
|
static Color | ScaledBlue (this Color color, float blue) |
|
static Color | ScaledAlpha (this Color color, float alpha) |
|
static void | Deconstruct (this Color color, out float r, out float g, out float b) |
|
static void | Deconstruct (this Color color, out float r, out float g, out float b, out float a) |
|
|
static float | c |
|
static float float | m |
|
static float float float | y |
|
◆ Deconstruct() [1/2]
static void Megapop.MegaCore.ColorExt.Deconstruct |
( |
this Color |
color, |
|
|
out float |
r, |
|
|
out float |
g, |
|
|
out float |
b |
|
) |
| |
|
inlinestatic |
◆ Deconstruct() [2/2]
static void Megapop.MegaCore.ColorExt.Deconstruct |
( |
this Color |
color, |
|
|
out float |
r, |
|
|
out float |
g, |
|
|
out float |
b, |
|
|
out float |
a |
|
) |
| |
|
inlinestatic |
◆ InvertRgb()
static Color Megapop.MegaCore.ColorExt.InvertRgb |
( |
this Color |
color | ) |
|
|
static |
◆ ScaledAlpha()
static Color Megapop.MegaCore.ColorExt.ScaledAlpha |
( |
this Color |
color, |
|
|
float |
alpha |
|
) |
| |
|
static |
◆ ScaledBlue()
static Color Megapop.MegaCore.ColorExt.ScaledBlue |
( |
this Color |
color, |
|
|
float |
blue |
|
) |
| |
|
static |
◆ ScaledGreen()
static Color Megapop.MegaCore.ColorExt.ScaledGreen |
( |
this Color |
color, |
|
|
float |
green |
|
) |
| |
|
static |
◆ ScaledRed()
static Color Megapop.MegaCore.ColorExt.ScaledRed |
( |
this Color |
color, |
|
|
float |
red |
|
) |
| |
|
static |
◆ ToCmyk()
static float float float float k Megapop.MegaCore.ColorExt.ToCmyk |
( |
this Color |
col | ) |
|
|
inlinestatic |
◆ ToColor32()
static Color32 Megapop.MegaCore.ColorExt.ToColor32 |
( |
this Color |
c | ) |
|
|
static |
◆ ToHexRGB()
static string Megapop.MegaCore.ColorExt.ToHexRGB |
( |
this Color |
color | ) |
|
|
inlinestatic |
◆ ToHexRGBA()
static string Megapop.MegaCore.ColorExt.ToHexRGBA |
( |
this Color |
color | ) |
|
|
inlinestatic |
◆ ToVector3()
static Vector3 Megapop.MegaCore.ColorExt.ToVector3 |
( |
this Color |
c | ) |
|
|
static |
◆ ToVector4()
static Vector4 Megapop.MegaCore.ColorExt.ToVector4 |
( |
this Color |
c | ) |
|
|
static |
◆ WithAlpha()
static Color Megapop.MegaCore.ColorExt.WithAlpha |
( |
this Color |
color, |
|
|
float |
alpha |
|
) |
| |
|
static |
◆ WithBlue()
static Color Megapop.MegaCore.ColorExt.WithBlue |
( |
this Color |
color, |
|
|
float |
blue |
|
) |
| |
|
static |
◆ WithGreen()
static Color Megapop.MegaCore.ColorExt.WithGreen |
( |
this Color |
color, |
|
|
float |
green |
|
) |
| |
|
static |
◆ WithRed()
static Color Megapop.MegaCore.ColorExt.WithRed |
( |
this Color |
color, |
|
|
float |
red |
|
) |
| |
|
static |
float Megapop.MegaCore.ColorExt.c |
|
static |
float float Megapop.MegaCore.ColorExt.m |
|
static |
float float float Megapop.MegaCore.ColorExt.y |
|
static |
The documentation for this class was generated from the following file:
- source/com.megapop.megacore/package/Runtime/Extensions/ColorExt.cs