set_translation method
set_translation(self, tx, ty, tz)
Sets the translation of current transform.
Returns
def set_translation(self, tx, ty, tz):
...
| Parameter | Type | Description |
|---|---|---|
| tx | float | |
| ty | float | |
| tz | float |
Example
from aspose.threed import Node
node = Node()
node.transform.set_translation(10, 0, 0)
See Also
- module
aspose.threed - class
Transform