GLTFContent.add_child_to_node

GLTFContent.add_child_to_node(parent_node, child_name=None, child_extras=None)[source]

Creates a compas.files.GLTFNode and adds this node to the children of parent_node.

Parameters
  • parent_node (compas.files.GLTFNode)

  • child_name (str)

  • child_extras (object)

Returns

compas.files.GLTFNode