UniqueAvatarColorHueFromId(Color, Int32, Single) Method

Set hue of a color based on ID.

Definition

Namespace: Alteruna.Multiplayer
Assembly: Alteruna (in Alteruna.dll) Version: 2.0.1+a1176e08a0b4a6bfd8fefeddde6163a16d29e5ab
C#
public static Color HueFromId(
	Color color,
	int id,
	float saturation
)

Parameters

color  Color
Base color.
id  Int32
Color ID.
saturation  Single
Saturation of returned color.

Return Value

Color
Color with new hue with given saturation and value.

See Also