SuperTuxKart
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ModelDefinitionLoader Class Reference

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)
 
LODNodeinstanciateAsLOD (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
 
Trackm_track
 

Detailed Description

Utility class to load level-of-detail nodes and library nodes.


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