transform property
transform property
Gets the local transform.
Example
The following code shows how to change the transform of the node:
from aspose.threed import Scene
from aspose.threed.entities import Box
from aspose.threed.utilities import Vector3
scene = Scene()
boxNode = scene.root_node.create_child_node(Box())
# place the box at (10, 0, 0)
boxNode.transform.translation = Vector3(10, 0, 0)
Definition:
@property
def transform(self):
...
See Also
- module
aspose.threed
- class
Node
- class
Transform