iImposter Struct Reference
[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 | SetCameraRotationTolerance (iSharedVariable *angle)=0 |
Camera Rotation Tolerance is the tolerance angle between z->1 vector and object on screen. | |
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 39 of file imposter.h.
Member Function Documentation
virtual void iImposter::SetCameraRotationTolerance | ( | iSharedVariable * | angle | ) | [pure virtual] |
Camera Rotation Tolerance is the tolerance angle between z->1 vector and object on screen.
Exceeding this value triggers updating of the imposter whenever the object slides too much away from the center of screen.
virtual void iImposter::SetImposterActive | ( | bool | flag | ) | [pure virtual] |
Self explanatory.
virtual void iImposter::SetMinDistance | ( | iSharedVariable * | dist | ) | [pure virtual] |
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.
virtual void iImposter::SetRotationTolerance | ( | iSharedVariable * | angle | ) | [pure virtual] |
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.
virtual bool iImposter::WouldUseImposter | ( | csReversibleTransform & | pov | ) | const [pure virtual] |
Determine if imposter or true rendering will be used.
The documentation for this struct was generated from the following file:
- iengine/imposter.h
Generated for Crystal Space 1.2 by doxygen 1.4.7