Click or drag to resize

ColorToHsv Method

Converts a color to HSV values. This is equivalent to using each of the `h`/`s`/`v` properties, but much more efficient.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void ToHsv(
	out float hue,
	out float saturation,
	out float value
)

Parameters

hue
Type: SystemSingle
Output parameter for the HSV hue.
saturation
Type: SystemSingle
Output parameter for the HSV saturation.
value
Type: SystemSingle
Output parameter for the HSV value.
See Also