|
My Project
|
for post rendering object with alpha. More...
#include <SceneState.h>
Public Types | |
| enum | ALPHA_ANIM { ALPHA_INCREASE_ANIM, ALPHA_DECREASE_ANIM, ALPHA_NO_ANIM } |
| alpha animation More... | |
Public Member Functions | |
| AlphaPostRenderObject (CBaseObject *pRenderObject, float fObjectToCameraDistance, int nOccluded=0, float fAlpha=1.f, ALPHA_ANIM nAlphaAnimMethod=ALPHA_NO_ANIM) | |
Public Member Functions inherited from ParaEngine::PostRenderObject | |
| PostRenderObject (CBaseObject *pRenderObject, float fObjectToCameraDistance, int nOccluded=0) | |
| create a new post render object. More... | |
| bool | IsOccluded () const |
| return true if occluded | |
Public Attributes | |
| float | m_fAlpha |
| ALPHA_ANIM | m_nAlphaAnimMethod |
| alpha animation method. | |
Public Attributes inherited from ParaEngine::PostRenderObject | |
| float | m_fObjectToCameraDistance |
| CBaseObject * | m_pRenderObject |
| int | m_nOccluded |
| whether this object is occluded. default to 0, which means undetermined. | |
for post rendering object with alpha.
such is usually for transparent objects, which will be drawn from back to front according to its object-camera distance
1.8.12