Isle
|
[AI] Encapsulates a named part within a LEGO object that contains a list of LODs (Levels of Detail). More...
#include <legonamedpart.h>
Public Member Functions | |
LegoNamedPart (const char *p_name, LegoLODList *p_list) | |
[AI] Constructs a LegoNamedPart with a given name and list of LODs. More... | |
~LegoNamedPart () | |
[AI] Destructor, cleans up all LOD objects and the LOD list. More... | |
const MxString * | GetName () const |
[AI] Gets the name of this named part. More... | |
LegoLODList * | GetList () |
[AI] Accesses the list of LODs associated with this part. More... | |
[AI] Encapsulates a named part within a LEGO object that contains a list of LODs (Levels of Detail).
This class provides an association between a part's name and its corresponding list of LOD geometries. It serves as a component within the LOD system, allowing named access and lifecycle management of a group of LOD objects. [AI]
Definition at line 18 of file legonamedpart.h.
|
inline |
[AI] Constructs a LegoNamedPart with a given name and list of LODs.
p_name | The name of the part. [AI] |
p_list | List of LOD (Level of Detail) objects associated with this part. [AI] |
[AI] The input p_name is copied to m_name, and p_list becomes the managed LOD list for this part.
Definition at line 26 of file legonamedpart.h.
|
inline |
[AI] Destructor, cleans up all LOD objects and the LOD list.
[AI] Iterates through the LOD list and deletes all owned LegoLOD objects, detaching each one before deleting the LOD list itself to ensure proper resource management.
Definition at line 37 of file legonamedpart.h.
|
inline |
[AI] Accesses the list of LODs associated with this part.
Definition at line 60 of file legonamedpart.h.
|
inline |
[AI] Gets the name of this named part.
Definition at line 54 of file legonamedpart.h.