OGLLight.Type

Description

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

Examples

VBScript Example

dim spot
set spot = ActiveProject.ActiveScene.Root.AddLightRig("Spot").Light
LogMessage "OGL light type: " & spot.OGLLight.Type