TransformBuilder.RotateDegree
RotateDegree(double, Vector3)
Chain a rotation transform in degree
public TransformBuilder RotateDegree(double angle, Vector3 axis)
Parameter | Type | Description |
---|---|---|
angle | Double | The angle to rotate in degree |
axis | Vector3 | The axis to rotate |
Examples
TransformBuilder tb = new TransformBuilder();
tb.RotateDegree(90, Vector3.YAxis);
Console.WriteLine($"Transform Matrix: {tb.Matrix}");
See Also
- struct Vector3
- class TransformBuilder
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D
RotateDegree(Vector3, RotationOrder)
Append rotation with specified order
public void RotateDegree(Vector3 rot, RotationOrder order)
Parameter | Type | Description |
---|---|---|
rot | Vector3 | Rotation in degrees |
order | RotationOrder |
See Also
- struct Vector3
- enum RotationOrder
- class TransformBuilder
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D