Color.Blue
 
 
 

Color.Blue

Description

Returns or sets the blue component value as a Double.

C# Syntax

// get accessor
Double rtn = Color.Blue;
// set accessor
Color.Blue = Double;

Examples

VBScript Example

set oSpot = GetValue("Scene_Root").AddLightRig("Spot").Light
set oColor = oSpot.OGLLight.Color
Application.LogMessage "color: " & oColor.Red & ", " & oColor.Green & ", " & oColor.Blue & ", " & oColor.Alpha
oColor.Red = 2
oColor.Green = 2
oColor.Blue = 2
oColor.Alpha = 2
Application.LogMessage "color: " & oColor.Red & ", " & oColor.Green & ", " & oColor.Blue & ", " & oColor.Alpha