set_translation method

set_translation

Sets the translation of current transform.

Returns

def set_translation(self, tx, ty, tz):
    ...
ParameterTypeDescription
txfloat
tyfloat
tzfloat

Example

from aspose.threed import Node

node = Node()
node.transform.set_translation(10, 0, 0)

See Also