ColorUtilities.InterpolateColorHSV(Variable, Variable, Variable) Method

Top 

Description

Interpolates the two colors given a designated weight. Returns the value of the interpolated color.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

ColorUtilities.InterpolateColorHSV(

Variable color1,


Variable color2,


Variable weight)

 

 

Arguments

color1


Description:

The start color in the interpolation.

 

 

color2


Description:

The end color in the interpolation.

 

 

weight


Description:

The weight between the colors to be interpolated. The range is clamped internally to (0-1).

 

 

 

Return Value

Type:

number

 

 

A color value.

 

Syntax

myVariable1 = ColorTools.InterpolateColorHSV(myVariable2, myVariable3, myVariable4);

 

 

See also

ColorUtilities Object

ColorUtilities.InterpolateColorHSV

Color Reference