TransformBuilder.Rotate
TransformBuilder.Rotate method
Chain a rotation by a quaternion
public TransformBuilder Rotate(Quaternion q)
Parameter | Type | Description |
---|---|---|
q | Quaternion |
Examples
TransformBuilder tb = new TransformBuilder();
tb.Rotate(Quaternion.FromEulerAngle(0, Math.PI, 0));
Console.WriteLine($"Transform Matrix: {tb.Matrix}");
See Also
- struct Quaternion
- class TransformBuilder
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D