OGLLight.Type

Description

Returns one of the siLightType enum values indicating the type of light.

C# Syntax

// get accessor

siLightType rtn = OGLLight.Type;

Examples

VBScript Example

dim spot

set spot = ActiveProject.ActiveScene.Root.AddLightRig("Spot").Light

LogMessage "OGL light type: " & spot.OGLLight.Type