![]() |
Rigs of Rods 2026.01
Soft-body Physics Simulation
|
a singleton - use Ogre::MeshManager::getSingleton() to retrieve instance.
Errors are forwarded as SE_GENERIC_EXCEPTION_CAUGHT script events.
Definition at line 15 of file AngelOgre_MeshManager.h.
Public Member Functions | |
| MeshPtr | load (const string &in file, const string &in rg) |
| void | remove (const string &in file, const string &in rg) |
| MeshPtr AngelOgre::MeshManager::load | ( | const string &in | file, |
| const string &in | rg | ||
| ) |
Loads a mesh (or returns it if already loaded).
| file | Mesh file name, e.g. "sphere.mesh". |
| rg | Resource group. |
| void AngelOgre::MeshManager::remove | ( | const string &in | file, |
| const string &in | rg | ||
| ) |
Unloads the mesh and removes it from the manager.