mojo3d.Mesh.Load - nitrologic/monkey2 GitHub Wiki

mojo3d::mojo3d.mojo3d.Mesh.Load

Function Load:mojo3d:mojo3d.Mesh( path:monkey:monkey.types.String )

Loads a mesh from a file.

On its own, mojo3d can only load gltf2 format mesh and model files.

To add more formats, #import the mojo3d-assimp module into your app, eg:

This will allow you to load any format supported by the assimp module.

However, importing the assimp module into your app will also increase its size.