![]() |
Public API Reference |
#include <imposter.h>
Inheritance diagram for iImposter:
Public Methods | |
virtual void | SetImposterActive (bool flag, iObjectRegistry *objreg)=0 |
Self explanatory. More... | |
virtual void | SetMinDistance (iSharedVariable *dist)=0 |
Minimum Imposter Distance is the distance from camera beyond which imposter is used. More... | |
virtual void | SetRotationTolerance (iSharedVariable *angle)=0 |
Rotation Tolerance is the maximum allowable angle difference between when the imposter was created and the current position of the camera. More... | |
virtual void | CreateImposter (csReversibleTransform &pov)=0 |
Tells the object to create its proctex and polygon for use by main render process later. More... | |
virtual bool | WouldUseImposter (csReversibleTransform &pov) const=0 |
Draw imposter on screen. private: virtual void Draw(iRenderView* rview) = 0; Determine if imposter or true rendering will be used. More... |
Definition at line 40 of file imposter.h.
|
Tells the object to create its proctex and polygon for use by main render process later.
|
|
Self explanatory.
|
|
Minimum Imposter Distance is the distance from camera beyond which imposter is used. Imposter gets a ptr here because value is a shared variable which can be changed at runtime for many objects. |
|
Rotation Tolerance is the maximum allowable angle difference between when the imposter was created and the current position of the camera. Angle greater than this triggers a re-render of the imposter. |
|
Draw imposter on screen. private: virtual void Draw(iRenderView* rview) = 0; Determine if imposter or true rendering will be used.
|