This class manages the editor materials for a game configuration. More...
#include "EditorMaterialManager.hpp"
Public Member Functions | |
EditorMatManT (const GameConfigT &GameConfig) | |
const ArrayT< EditorMaterialI * > & | GetMaterials () const |
EditorMaterialI * | GetDefaultMaterial () |
void | SetDefaultMaterial (EditorMaterialI *DefaultMat) |
EditorMaterialI * | FindMaterial (const wxString &MatName, bool CreateDummy) |
This method finds an editor material by name. More... | |
void | LazilyUpdateProxies () |
This class manages the editor materials for a game configuration.
EditorMaterialI * EditorMatManT::FindMaterial | ( | const wxString & | MatName, |
bool | CreateDummy | ||
) |
This method finds an editor material by name.
MatName | Name of the material to find. |
CreateDummy | Creates and returns a dummy material when the requested material was not found. |