v5.1
Sets or returns the rotation angle (in degrees) around the x axis of this transformation as a Double (floating-point value).
// get accessor Double rtn = ISITransformation.RotX; // set accessor ISITransformation.RotX = 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;
|
SITransformation.RotY SITransformation.RotZ SITransformation.SetRotationFromXYZAngles SITransformation.GetRotationXYZAngles