.. _api_MeshGroup: MeshGroup ========= Inherited: None .. _api_MeshGroup_description: Description ----------- .. _api_MeshGroup_public: Public Methods -------------- +--------------------------+-------------------------------------------------------------+ | int | :ref:`addLod` (Mesh * lod) | +--------------------------+-------------------------------------------------------------+ | :ref:`Mesh` * | :ref:`lod` (int lod) | +--------------------------+-------------------------------------------------------------+ | int | :ref:`lodsCount` () const | +--------------------------+-------------------------------------------------------------+ | void | :ref:`setLod` (int lod, Mesh * data) | +--------------------------+-------------------------------------------------------------+ .. _api_MeshGroup_static: Static Methods -------------- None .. _api_MeshGroup_methods: Methods Description ------------------- .. _api_MeshGroup_addLod: int **MeshGroup::addLod** (:ref:`Mesh` * *lod*) Adds the new *lod* data for the MeshGroup. Retuns index of new *lod*. ---- .. _api_MeshGroup_lod: :ref:`Mesh` * **MeshGroup::lod** (int *lod*) Returns Mesh for the *lod* index if exists; othewise returns nullptr. **See also** setLod(). ---- .. _api_MeshGroup_lodsCount: int **MeshGroup::lodsCount** () const Returns the number of Levels Of Details ---- .. _api_MeshGroup_setLod: void **MeshGroup::setLod** (int *lod*, :ref:`Mesh` * *data*) Sets the new *data* for the particular *lod*. This method can replace the existing *data*. **See also** *lod*().