Static loadGLTFThe relative path to the file
An optional callback that is called when the file has been loaded
Static loadOBJLoads an OBJ file asynchronously
The Mesh3 object created to hold the model. Note, it will only contain the model data AFTER the asynchronous loading is complete.
The relative path to the OBJ file
An optional callback that is called when the file has been loaded
Static loadPLYLoads a PLY file asynchronously
The Mesh3 object created to hold the model. Note, it will only contain the model data AFTER the asynchronous loading is complete.
The relative path to the PLY file
An optional callback that is called when the file has been loaded
Generated using TypeDoc
Loads a GLTF file asynchronously.
Returns
A new Node3 object that will act as the root of the model once it is finished loading. Note, it will only contain the model data AFTER the asynchronous loading is complete.