SITransformation.PosX

導入

v 5.1

詳細

この変換の x軸を(Double)として設定したり、戻したりします。

JScript の例

var oRoot = Application.ActiveProject.ActiveScene.Root;
var oCube = oRoot.AddGeometry("Cube","MeshSurface");
oTrans = oCube.Kinematics.Local.Transform
//Change the x position 
oTrans.PosX = 1.25 ;
oCube.Kinematics.Local.Transform = oTrans;

関連項目

SITransformation.PosY SITransformation.PosZ SITransformation.GetTranslation SITransformation.SetTranslation