ColorUtilities.InterpolateColorLAB(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 millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

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

 

Method Signature

ColorUtilities.InterpolateColorLAB(

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

 

 

See also

ColorUtilities Object

ColorUtilities.InterpolateColorLAB

Color Reference