OGLLight.LightPosition

Description

Returns an SIVector3 representing the position of the light.

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