Color.*
static Color *(Color a, float b)
This will multiply a color linearly, including alpha. Best done on a color in linear space. No clamping is applied.
Color a | The source color. |
float b | The float to multiply by. |
RETURNS: Color | A multiplied color. |
static Color *(Color a, Color b)
This will multiply a color component-wise against another color, including alpha. Best done on colors in linear space. No clamping is applied.
Color a | The first color. |
Color b | The second color. |
RETURNS: Color | A multiplied color. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!