C4 Engine
C4 Engine API Documentation

GeometryObject::GetGeometryLevel

Defined in:  C4GeometryObjects.h
Returns a specific geometric level of detail.
Prototype

Mesh *GetGeometryLevel(int32 level) const;

Parameters
level The detail level to retrieve.
Description
The GetGeometryLevel function returns the a pointer to the Mesh object for the detail level specified by the level parameter. The number of detail levels can be determined by calling the GeometryObject::GetGeometryLevelCount function. The level parameter must be in the range [0, n − 1], where n is the number of detail levels.
See Also

GeometryObject::GetGeometryLevelCount

Mesh