SuperTuxKart
|
Utility class to load level-of-detail nodes and library nodes. More...
#include <model_definition_loader.hpp>
Public Member Functions | |
ModelDefinitionLoader (Track *track) | |
void | addModelDefinition (const XMLNode *xml) |
LODNode * | instanciateAsLOD (const XMLNode *xml_node, scene::ISceneNode *parent, std::shared_ptr< GE::GERenderInfo > ri) |
void | clear () |
scene::IMesh * | getFirstMeshFor (const std::string &name) |
std::map< std::string, XMLNode * > & | getLibraryNodes () |
void | cleanLibraryNodesAfterLoad () |
bool | containsLibraryNode (const std::string &name) const |
void | addToLibrary (const std::string &name, XMLNode *xml) |
Private Attributes | |
std::map< std::string, XMLNode * > | m_library_nodes |
std::map< std::string, std::vector< ModelDefinition > > | m_lod_groups |
std::map< std::string, STKInstancedSceneNode * > | m_instancing_nodes |
Track * | m_track |
Utility class to load level-of-detail nodes and library nodes.