rotate_degree method

rotate_degree

Chain a rotation transform in degree

def rotate_degree(self, angle, axis):
    ...
ParameterTypeDescription
anglefloatThe angle to rotate in degree
axisVector3The axis to rotate

Example

from aspose.threed.utilities import TransformBuilder, Vector3

tb = TransformBuilder()
tb.rotate_degree(90, Vector3.Y_AXIS)
print(f"Transform Matrix: {tb.matrix}")

rotate_degree

Append rotation with specified order

def rotate_degree(self, rot, order):
    ...
ParameterTypeDescription
rotVector3Rotation in degrees
orderRotationOrder

See Also