v 5.1
この変換の x軸を基準とした回転角度をDouble(浮動小数点値)として設定したり、戻したりします。
var oRoot = Application.ActiveProject.ActiveScene.Root;
var oCube = oRoot.AddGeometry("Cube","MeshSurface");
oTrans = oCube.Kinematics.Local.Transform
//Change the rotation around x axe (The angle is in degree)
oTrans.RotX = 45;
oCube.Kinematics.Local.Transform = oTrans;
|