Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
Public Member Functions
AngelOgre::MaterialManager Class Reference

Description

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)
 

Member Function Documentation

◆ create()

MaterialPtr AngelOgre::MaterialManager::create ( const string &in  name,
const string &in  rg 
)

Creates a new, empty material.

◆ getByName()

MaterialPtr AngelOgre::MaterialManager::getByName ( const string &in  name,
const string &in  rg 
)

Finds a material by name.

Parameters
nameMaterial name.
rgResource group.
Returns
The material, or a null pointer if not found.

The documentation for this class was generated from the following file: