ColorUtilities.GetGreenComponent(Variable) Method

Top 

Description

Gets green 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.GetGreenComponent(

Variable color)

 

 

Arguments

color


Description:

Variable color.

 

 

 

Return Value

Type:

number

 

 

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

 

Syntax

myVariable1 = ColorTools.GetGreenComponent(myVariable2);

 

 

See also

ColorUtilities Object

Color Reference