MeshGroup
Inherited: None
Description
Public Methods
int |
addLod (Mesh * lod) |
Mesh * |
lod (int lod) |
int |
lodsCount () const |
void |
setLod (int lod, Mesh * data) |
Static Methods
None
Methods Description
int MeshGroup::addLod (Mesh * lod)
Adds the new lod data for the MeshGroup. Retuns index of new lod.
Mesh * MeshGroup::lod (int lod)
Returns Mesh for the lod index if exists; othewise returns nullptr.
See also setLod().
int MeshGroup::lodsCount () const
Returns the number of Levels Of Details
void MeshGroup::setLod (int lod, Mesh * data)
Sets the new data for the particular lod. This method can replace the existing data.
See also *lod*().