MeshResource

constructor(path: String, loadType: LoadType = LoadType.FROM_ASSETS)

Constructs a mesh resource via file path.

Parameters

path

The given path.

loadType

The loading type, which determines where to load the mesh resource from. The default value is FROM_ASSETS.

Throws

If any error occurs during the loading process.