![]() |
Rigs of Rods 2026.01
Soft-body Physics Simulation
|
a singleton - use Ogre::MaterialManager::getSingleton() to retrieve instance.
Errors are forwarded as SE_GENERIC_EXCEPTION_CAUGHT script events.
Definition at line 15 of file AngelOgre_MaterialManager.h.
Public Member Functions | |
| MaterialPtr | getByName (const string &in name, const string &in rg) |
| MaterialPtr | create (const string &in name, const string &in rg) |
| MaterialPtr AngelOgre::MaterialManager::create | ( | const string &in | name, |
| const string &in | rg | ||
| ) |
Creates a new, empty material.
| MaterialPtr AngelOgre::MaterialManager::getByName | ( | const string &in | name, |
| const string &in | rg | ||
| ) |
Finds a material by name.
| name | Material name. |
| rg | Resource group. |