GLTFContent.add_mesh_to_node
- GLTFContent.add_mesh_to_node(node, mesh)[source]
Adds an existing mesh to
nodeifmeshis a valid mesh key, or throughadd_meshcreates and adds a mesh tonode.- Parameters
node (
compas.files.GLTFNode)mesh (Union[
compas.datastructures.Mesh, int])
- Returns