iImposter Struct Reference
[Crystal Space 3D Engine, Crystal Space 3D Engine]
iImposter defines the interface a mesh (or other) class must implement to be used as imposter mesh by the engine.
More...
#include <iengine/imposter.h>
Inheritance diagram for iImposter:

Public Member Functions | |
virtual void | CreateImposter (csReversibleTransform &pov)=0 |
Tells the object to create its proctex and polygon for use by main render process later. | |
virtual void | SetImposterActive (bool flag)=0 |
Self explanatory. | |
virtual void | SetMinDistance (iSharedVariable *dist)=0 |
Minimum Imposter Distance is the distance from camera beyond which imposter is used. | |
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. | |
virtual bool | WouldUseImposter (csReversibleTransform &pov) const =0 |
Determine if imposter or true rendering will be used. |
Detailed Description
iImposter defines the interface a mesh (or other) class must implement to be used as imposter mesh by the engine.
Definition at line 40 of file imposter.h.
Member Function Documentation
|
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. |
|
Determine if imposter or true rendering will be used. private: virtual void Draw(iRenderView* rview) = 0; |
The documentation for this struct was generated from the following file:
- iengine/imposter.h
Generated for Crystal Space by doxygen 1.4.4