set_geometric_translation method
set_geometric_translation(self, x, y, z)
Sets the geometric translation. 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_translation(self, x, y, z):
...
Parameter | Type | Description |
---|---|---|
x | float | |
y | float | |
z | float |
Example
from aspose.threed import Node
node = Node()
node.transform.set_geometric_translation(10, 0, 0)
See Also
- module
aspose.threed
- class
Transform