add_child_node method

add_child_node

Add a child node to this node

def add_child_node(self, node):
    ...
ParameterTypeDescription
nodeNodeThe child node to be attached

Example

The following code shows how to get all meshes from a scene

from aspose.threed import Node, Scene

scene = Scene.from_file("input.fbx")
newNode = Node()
# add a new node manually
scene.root_node.add_child_node(newNode)

See Also