ColorUtilities.InterpolateColorHSV(Array, Variable) Method

Top 

Description

Interpolates the 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(

Array colors,


Variable weight)

 

 

Arguments

colors


Description:

Colors to perform the interpolation across.

Required Size:

At least 2

 

 

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(myArray1, myVariable2);

 

 

See also

ColorUtilities Object

ColorUtilities.InterpolateColorHSV

Color Reference