set_geometric_rotation method
set_geometric_rotation
Sets the geometric Euler rotation(measured in degree). Geometric transformation only affects the entities attached and leave the child nodes unaffected. It will be merged as local transformation when you export the geometric transformation to file types that does not support it.
def set_geometric_rotation(self, rx, ry, rz):
...
Parameter | Type | Description |
---|---|---|
rx | float | |
ry | float | |
rz | float |
Example
from aspose.threed import Node
node = Node()
node.transform.set_geometric_rotation(90, 0, 0)
See Also
- module
aspose.threed
- class
Transform