#include <HConstantFrameRate.h>
Public Member Functions | |
ConstFRType | GetType () |
HFrLodClamp () | |
HFrLodClamp (int min, int max) | |
void | Reset (HConstantFrameRate *pCfr) |
void | Set (HConstantFrameRate *pCfr, int SimpLevel) |
void | SetSegmentSwitch (bool ssl) |
Static Public Member Functions | |
static HConstFRSimpType * | Create (int min, int max) |
Public Attributes | |
bool | m_bSegmentSwitch |
LOD Simplification type using the CLAMP option. The simplification level corresponds directly to the clamp value rendering option.
HFrLodClamp::HFrLodClamp | ( | ) | [inline] |
The default constructor.
HFrLodClamp::HFrLodClamp | ( | int | min, |
int | max | ||
) | [inline] |
The constructor that allows you the set the minimum and maximum simplification levels.
min | The minimum simplification level. |
max | The maximum simplification level. |
static HConstFRSimpType* HFrLodClamp::Create | ( | int | min, |
int | max | ||
) | [inline, static] |
Create a new simplification type object. Use this method to avoid object ownership problems.
min | lowest simplification level |
max | highest simplification level |
ConstFRType HFrLodClamp::GetType | ( | ) | [inline, virtual] |
Implements HConstFRSimpType.
References ConstFRLodClampType.
void HFrLodClamp::Set | ( | HConstantFrameRate * | pCfr, |
int | SimpLevel | ||
) | [virtual] |
This methods set the LOD clamp value to the SimpLevel. It also sets the tessellation option for cylinders.
pCfr | A pointer to a HConstantFrameRate Object. |
SimpLevel | Simplification level for the current type |
Implements HConstFRSimpType.