rotate_euler_radian method
rotate_euler_radian
Chain a rotation by Euler angles in radian
def rotate_euler_radian(self, r):
...
Parameter | Type | Description |
---|---|---|
r | Vector3 |
Example
from aspose.threed.utilities import TransformBuilder, Vector3
import math
tb = TransformBuilder()
tb.rotate_euler_radian(Vector3(0, math.pi, 0))
print(f"Transform Matrix: {tb.matrix}")
rotate_euler_radian
Chain a rotation by Euler angles in radian
def rotate_euler_radian(self, x, y, z):
...
Parameter | Type | Description |
---|---|---|
x | float | |
y | float | |
z | float |
Example
from aspose.threed.utilities import TransformBuilder
import math
tb = TransformBuilder()
tb.rotate_euler_radian(0, math.pi, 0)
print(f"Transform Matrix: {tb.matrix}")
See Also
- module
aspose.threed.utilities
- class
TransformBuilder