|  | OGRE 14.3
    Object-Oriented Graphics Rendering Engine | 
#include <OgreLodCollapser.h>
| Public Member Functions | |
| virtual | ~LodCollapser () | 
| bool | _getLastVertexCollapseTo (LodData *data, Vector3 &outVec) | 
| Returns the destination of the edge, which was last reduced. | |
| bool | _getLastVertexPos (LodData *data, Vector3 &outVec) | 
| Returns the last reduced vertex. | |
| virtual void | collapse (LodData *data, LodCollapseCost *cost, LodOutputProvider *output, int vertexCountLimit, Real collapseCostLimit) | 
| Reduces vertices until vertexCountLimit or collapseCostLimit is reached. | |
| 
 | inlinevirtual | 
| 
 | virtual | 
Reduces vertices until vertexCountLimit or collapseCostLimit is reached.
Returns the last reduced vertex.
You should call this function after generateLodLevels!
| data | This parameter is not used, but this will guarantee that data is alive. | 
| outVec | The vector receiving the position of the vertex. | 
Returns the destination of the edge, which was last reduced.
You should call this function after generateLodLevels!
| data | This parameter is not used, but this will guarantee that data is alive. | 
| outVec | The vector receiving the CollapseTo position. |