Ogre material listener.
More...
#include <EditorMaterialSwitcher.hh>
Constructor.
- Parameters
-
[in] | _camera | Pointer to the camera whose viewport will be updated to see the effect of the material switch. |
gazebo::gui::EditorMaterialListener::~EditorMaterialListener |
( |
| ) |
|
|
default |
virtual Ogre::Technique* gazebo::gui::EditorMaterialListener::handleSchemeNotFound |
( |
uint16_t |
_schemeIndex, |
|
|
const Ogre::String & |
_schemeName, |
|
|
Ogre::Material * |
_originalMaterial, |
|
|
uint16_t |
_lodIndex, |
|
|
const Ogre::Renderable * |
_rend |
|
) |
| |
|
virtual |
Ogre callback that is used to specify the material to use when the requested scheme is not found.
- Parameters
-
[in] | _schemeIndex | Index of scheme requested |
[in] | _schemeName | Name of scheme requested |
[in] | _originalMaterial | Orignal material that does not contain the requested scheme |
[in] | _lodIndex | The material level-of-detail |
[in] | _rend | Pointer to the Ogre::Renderable object requesting the use of the techinique |
- Returns
- The Ogre material technique to use when scheme is not found.
The documentation for this class was generated from the following file: