OpenMW
Public Member Functions | Private Attributes
NifOgre::MaterialControllerManager Class Reference

Clones materials as necessary to not make controllers affect other objects (that share the original material). More...

#include <ogrenifloader.hpp>

List of all members.

Public Member Functions

 ~MaterialControllerManager ()
Ogre::MaterialPtr getWritableMaterial (Ogre::MovableObject *movable)

Private Attributes

std::map< Ogre::MovableObject
*, Ogre::MaterialPtr > 
mClonedMaterials

Detailed Description

Clones materials as necessary to not make controllers affect other objects (that share the original material).


Constructor & Destructor Documentation


Member Function Documentation

Ogre::MaterialPtr NifOgre::MaterialControllerManager::getWritableMaterial ( Ogre::MovableObject *  movable)
Attention:
if movable is an Entity, it needs to have *one* SubEntity

Member Data Documentation

std::map<Ogre::MovableObject*, Ogre::MaterialPtr> NifOgre::MaterialControllerManager::mClonedMaterials [private]

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