Adjustment.HuesNonAlloc
Extension Method in Adjustment
Declaration
public static void HuesNonAlloc(this Color baseColor, Color[] output, float offset = 0F)
Description
Fills an existing array with the hues of the base color to prevent heap allocations. The amount of hues generated is determined by the size of the array.
Parameters
baseColor | The base color to generate new colors from. |
output | The array to store the generated hues in. |
offset | The optional hue offset in degrees [-360..360] (default=0). |