GLTFMesh.from_data

classmethod GLTFMesh.from_data(mesh, context, primitive_data_list)

Creates a GLTFMesh from a glTF node dictionary and inserts it in the provided context.

Parameters
  • mesh (dict)

  • context (GLTFContent)

  • primitive_data_list (list)

Returns

GLTFMesh