OGLLight.LightPosition

Description

Returns an SIVector3 representing the position of the light.

C# Syntax

// get accessor
Object rtn = OGLLight.LightPosition;

Examples

VBScript Example

set spot = ActiveProject.ActiveScene.Root.AddLightRig("Spot").Light
set lightPos = spot.OGLLight.LightPosition
LogMessage "OGL light light position: " & lightPos.x & ", " & lightPos.y & ", " & lightPos.z