v 5.1
この変換の x軸のスケーリングをDouble(浮動小数点値)として設定したり、戻したりします。
var oRoot = Application.ActiveProject.ActiveScene.Root; var oCube = oRoot.AddGeometry("Cube","MeshSurface"); oTrans = oTrans = oCube.Kinematics.Local.Transform //Change the scaling in x direction oTrans.SclX = 1.25 ; oCube.Kinematics.Local.Transform = oTrans; |