ColorUtilities.GetRedComponent(Variable) Method

Top 

Description

Gets red component of the specified 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.GetRedComponent(

Variable color)

 

 

Arguments

color


Description:

Variable color.

 

 

 

Return Value

Type:

number

 

 

Returns a Variable for the red component value (0-1) of the specified color.

 

Syntax

myVariable1 = ColorTools.GetRedComponent(myVariable2);

 

 

See also

ColorUtilities Object

Color Reference