Adjustment.LighterNonAlloc

Extension Method in Adjustment

Declaration

public static void LighterNonAlloc(this Color baseColor, Color[] output)

Description

Fills an existing array with lighter colors of the base color to prevent heap allocations. The amount of colors generated is determined by the size of the array.

Parameters

baseColorThe base color to generate new colors from.
outputThe array to store the generated colors in.