TransformBuilder.Rotate

TransformBuilder.Rotate method

Chain a rotation by a quaternion

public TransformBuilder Rotate(Quaternion q)
ParameterTypeDescription
qQuaternion

Examples

TransformBuilder tb = new TransformBuilder();
tb.Rotate(Quaternion.FromEulerAngle(0, Math.PI, 0));
Console.WriteLine($"Transform Matrix: {tb.Matrix}");

See Also