Color./
static Color /(Color a, float b)
This will divide 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 divide by. |
RETURNS: Color | A divided color. |
static Color /(Color a, Color b)
This will divide 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 divided color. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!