Table of Contents

Enum ColorGenerationAlgorithm

Namespace
Gamelogic.Colors
Assembly
Gamelogic.Colors.dll

Algorithms for generating colors.

[Version(1, 0, 0)]
[Serializable]
public enum ColorGenerationAlgorithm

Fields

[Version(2, 1, 0)] AffineCircle = 12

Generates colors by sampling colors from an affine circle in the color cube.

Gradient = 2

Generates colors by selecting colors from a gradient.

Harmony = 9

Generates colors by generating colors that are harmonious with a base color.

RandomHue = 5

Generates colors by setting the hue of a base color randomly.

RandomLuminance = 7

Generates colors by setting the luminance of a base color randomly.

RandomMix = 4

Generates colors by mixing two or three colors in random proportions.

RandomOffset = 3

Generates colors by adding a random offset to a base color.

RandomSaturation = 6

Generates colors by setting the saturation of a base color randomly.

RandomSaturationLuminance = 8

Generates colors by setting the saturation and luminance of a base color randomly.

RandomWalk = 1

Generates colors by walking randomly from a start color in the color space.

Shades = 11

Generates colors by generating shades of a base color.

Tints = 10

Generates colors by generating tints of a base color.

Uniform = 0

Generates colors randomly, choosing channel values uniformly.

Remarks

This class is useful for simple scenarios. However, in general, using a color graph is more flexible and powerful. See Using the node editor on how to do this.

See Also