Click or drag to resize
Ab4d.SharpEngine logo

Color3InterpolateHsvColor Method

Linearly interpolate between two colors in HSV color space. Interpolation of hue is performed in the direction of the shorter arc spanned by the start and the end color.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public static Vector3 InterpolateHsvColor(
	Vector3 start,
	Vector3 end,
	float interpolationAmount
)

Parameters

start  Vector3
Starting point in HSV color space.
end  Vector3
Ending point in HSV color space.
interpolationAmount  Single
Weighting factor for linear interpolation; 0 means starting point, 1 means ending point.

Return Value

Vector3
See Also