OGLLight.LightPosition

OGLLight.LightPosition

説明

ライトの位置を表すSIVector3を戻します。

C#構文

// get accessor

Object rtn = OGLLight.LightPosition;

VBScript の例

set spot = ActiveProject.ActiveScene.Root.AddLightRig("Spot").Light

set lightPos = spot.OGLLight.LightPosition

LogMessage "OGL light light position: " & lightPos.x & ", " & lightPos.y & ", " & lightPos.z