set_geometric_translation method

set_geometric_translation

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):
    ...
ParameterTypeDescription
xfloat
yfloat
zfloat

Example

from aspose.threed import Node

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

See Also