loadMeshResource

fun loadMeshResource(path: String): MeshResource

Loads a mesh resource from the specified path.

Return

Returns a MeshResource object representing the loaded mesh.

Parameters

path

The path to the mesh resource within the AssetBundle.

Throws

IllegalStateException

If the asset bundle is closed.

If any error occurs during the loading process.