Table of Contents

Method WithHue

Namespace
Gamelogic.Colors
Assembly
Gamelogic.Colors.dll

WithHue(IGenerator<Color>, IGenerator<float>)

Creates a color generator that generates color from a source generator, setting their hue to values generated from another generator.

public static IGenerator<Color> WithHue(this IGenerator<Color> source, IGenerator<float> hueGenerator)

Parameters

source IGenerator<Color>

The source generator.

hueGenerator IGenerator<float>

The hue generator.

Returns

IGenerator<Color>