Static Class in Zigurous.ColorPro
public static class Gradients
Functions for creating and working with color gradients.
|HueSpectrum||A gradient of the color hue spectrum from 0° to 360°.|
|ToGradient||Creates a new gradient and sets the given color keys and alpha keys.|
|ToGradientPalette||Creates a palette of colors by interpolating a linear amount of stops between a start color and end color.|
|ToGradientPaletteNonAlloc||Creates a palette of colors by interpolating a linear amount of stops between a start color and end color. The number of colors generated is determined by the size of the array. The colors are stored in an existing array to prevent heap allocations.|
|ToColors||Returns the colors of a gradient.|