Cloud Class Reference#include <sky.h>
|
Public Member Functions |
| Cloud () |
| ~Cloud () |
void | setPoints () |
void | setHeights (F32 cHeight, F32 iHeight, F32 eHeight) |
void | setTexture (TextureHandle) |
void | setSpeed (Point2F) |
void | setTextPer (F32 cloudTextPer) |
void | updateCoord () |
void | calcAlpha () |
void | render (U32, U32, bool, S32, PlaneF *) |
void | updateStorm () |
void | calcStorm (F32 speed, F32 fadeSpeed) |
void | calcStormAlpha () |
void | setRenderPoints (Point3F *renderPoints, Point2F *renderTexPoints, F32 *renderAlpha, F32 *renderSAlpha, S32 index) |
void | clipToPlane (Point3F *points, Point2F *texPoints, F32 *alphaPoints, F32 *sAlphaPoints, U32 &rNumPoints, const PlaneF &rPlane) |
Static Public Member Functions |
static void | startStorm (SkyState) |
static void | setRadius (F32 rad) |
Private Attributes |
Point3F | mPoints [25] |
Point2F | mSpeed |
F32 | mCenterHeight |
F32 | mInnerHeight |
F32 | mEdgeHeight |
F32 | mAlpha [25] |
S32 | mDown |
S32 | mOver |
F32 | mLastTime |
F32 | mOffset |
Point2F | mBaseOffset |
Point2F | mTexCoords [25] |
Point2F | mTextureScale |
TextureHandle | mCloudHandle |
Point2F | alphaCenter |
Point2F | stormUpdate |
F32 | stormAlpha [25] |
F32 | mAlphaSave [25] |
Static Private Attributes |
static F32 | mRadius |
static StormInfo | mGStormData |
Constructor & Destructor Documentation
Member Function Documentation
void Cloud::setPoints |
( |
|
) |
|
void Cloud::setTexture |
( |
TextureHandle |
|
) |
|
void Cloud::setTextPer |
( |
F32 |
cloudTextPer |
) |
|
void Cloud::updateCoord |
( |
|
) |
|
void Cloud::calcAlpha |
( |
|
) |
|
void Cloud::updateStorm |
( |
|
) |
|
void Cloud::calcStorm |
( |
F32 |
speed, |
|
|
F32 |
fadeSpeed | |
|
) |
| | |
void Cloud::calcStormAlpha |
( |
|
) |
|
static void Cloud::setRadius |
( |
F32 |
rad |
) |
[inline, static] |
Field Documentation
|