OGLLight.InterestPosition
 
 
 

OGLLight.InterestPosition

Description

Returns the interest vector position of the light as an SIVector3.

C# Syntax

// get accessor
Object rtn = OGLLight.InterestPosition;

Examples

VBScript Example

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