![]() |
Rigs of Rods 2026.01
Soft-body Physics Simulation
|
A shared pointer to a material.
Binding of Ogre::MaterialPtr.
MaterialManager::getByName() or SubEntity::getMaterial(). A material consists of Techniques, each consisting of Passes. Definition at line 17 of file AngelOgre_MaterialPtr.h.
Public Member Functions | |
| MaterialPtr () | |
| MaterialPtr (const MaterialPtr &in other) | |
| MaterialPtr & | opAssign (const MaterialPtr &in other) |
| bool | isNull () |
| TechniqueArray | getTechniques () |
| string | getName () |
| Technique | createTechnique () |
| void | removeTechnique (uint16 index) |
| AngelOgre::MaterialPtr::MaterialPtr | ( | ) |
Creates an empty (null) pointer.
| AngelOgre::MaterialPtr::MaterialPtr | ( | const MaterialPtr &in | other | ) |
Creates a copy pointing to the same material.
| Technique AngelOgre::MaterialPtr::createTechnique | ( | ) |
Creates a new, empty technique.
SE_GENERIC_EXCEPTION_CAUGHT script event). | string AngelOgre::MaterialPtr::getName | ( | ) |
Name of the material.
| TechniqueArray AngelOgre::MaterialPtr::getTechniques | ( | ) |
Returns a read-only list of the material's techniques.
| bool AngelOgre::MaterialPtr::isNull | ( | ) |
Returns true if the pointer doesn't point to a material.
| MaterialPtr & AngelOgre::MaterialPtr::opAssign | ( | const MaterialPtr &in | other | ) |
| void AngelOgre::MaterialPtr::removeTechnique | ( | uint16 | index | ) |
Removes the technique at the given index.