Transform.SetRotation
Transform.SetRotation method
Sets the rotation(as quaternion components) of current transform.
public Transform SetRotation(double rw, double rx, double ry, double rz)
Parameter | Type | Description |
---|---|---|
rw | Double | |
rx | Double | |
ry | Double | |
rz | Double |
Examples
Node node = new Node();
node.Transform.SetRotation(1, 0, 0, 0);
See Also
- class Transform
- namespace Aspose.ThreeD
- assembly Aspose.3D