ライトの位置を表すSIVector3を戻します。
// get accessor Object rtn = OGLLight.LightPosition; |
set spot = ActiveProject.ActiveScene.Root.AddLightRig("Spot").Light
set lightPos = spot.OGLLight.LightPosition
LogMessage "OGL light light position: " & lightPos.x & ", " & lightPos.y & ", " & lightPos.z |