OGLLight.Color
 
 
 

OGLLight.Color

Description

Returns the Color for this light. The color is normalized, with each component in the range 0 to 1.

C# Syntax

// get accessor
Color rtn = OGLLight.Color;

Examples

VBScript Example

set spot = ActiveProject.ActiveScene.Root.AddLightRig("Spot").Light
set color = spot.OGLLight.Color
LogMessage "OGL light color: " & color.red & ", " & color.green & ", " & color.blue & ", " & color.alpha