GLTFContent.add_mesh_to_node

GLTFContent.add_mesh_to_node(node, mesh)[source]

Adds an existing mesh to node if mesh is a valid mesh key, or through add_mesh creates and adds a mesh to node.

Parameters
Returns

compas.files.GLTFMesh