TransformBuilder.RotateRadian
Contents
[
Hide
]RotateRadian(double, Vector3)
Chain a rotation transform in radian
public TransformBuilder RotateRadian(double angle, Vector3 axis)
Parameter | Type | Description |
---|---|---|
angle | Double | The angle to rotate in radian |
axis | Vector3 | The axis to rotate |
Examples
TransformBuilder tb = new TransformBuilder();
tb.RotateRadian(Math.PI, Vector3.YAxis);
Console.WriteLine($"Transform Matrix: {tb.Matrix}");
See Also
- struct Vector3
- class TransformBuilder
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D
RotateRadian(Vector3, RotationOrder)
Append rotation with specified order
public void RotateRadian(Vector3 rot, RotationOrder order)
Parameter | Type | Description |
---|---|---|
rot | Vector3 | Rotation in radian |
order | RotationOrder |
Examples
TransformBuilder tb = new TransformBuilder();
tb.RotateRadian(new Vector3(0.3, 0.4, 0.1), RotationOrder.YZX);
Console.WriteLine($"Transform Matrix: {tb.Matrix}");
See Also
- struct Vector3
- enum RotationOrder
- class TransformBuilder
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D