Random.RandomDoubleSplitComplementaryNonAlloc
Extension Method in Random
Declaration
public static void RandomDoubleSplitComplementaryNonAlloc(this Color baseColor, Color[] output, float variance = 0.25F, float min = 0F, float max = 1F)
Description
Creates a double split complementary harmony of the color, two pairs of complementary colors on either side of the base color. The colors are stored in an existing array to prevent heap allocations.
Parameters
baseColor | The base color to create the harmony from. |
output | The output array to store the colors in. |
variance | The amount of variance in tints and shades [0..1] (default=0.25). |
min | The minimum amount of change in the hue shift [0..1] (default=0). |
max | The maximum amount of change in the hue shift [0..1] (default=1). |