CloudLayer
Engine/source/environment/cloudLayer.h
Private Types
enum
_Anonymous_ { CloudLayerMask = Parent::NextFreeMask NextFreeMask = Parent::NextFreeMask << 1 }
Parent
Protected Static Attributes
Protected Attributes
Public Functions
Called after any property of the object is changed in the world editor.
bool
onAdd()
Called when the object is added to the sim.
packUpdate(NetConnection * conn, U32 mask, BitStream * stream)
Instructs this object to pack its state for transfer over the network.
prepRenderImage(SceneRenderState * state)
Called when the SceneManager is ready for the registration of render instances.
renderObject(ObjectRenderInst * ri, SceneRenderState * state, BaseMatInstance * mi)
unpackUpdate(NetConnection * conn, BitStream * stream)
Instructs this object to read state data previously packed with packUpdate.
Public Static Functions
Protected Functions
Detailed Description
Private Types
@74
Enumerator
- CloudLayerMask = Parent::NextFreeMask
- NextFreeMask = Parent::NextFreeMask << 1
typedef SceneObject Parent
Protected Static Attributes
U32 smStrideMinusOne
U32 smTriangleCount
U32 smVertCount
U32 smVertStride
Protected Attributes
GFXShaderConstHandle * mAmbientColorSC
LinearColorF mBaseColor
GFXShaderConstHandle * mBaseColorSC
F32 mCoverage
GFXShaderConstHandle * mCoverageSC
F32 mExposure
GFXShaderConstHandle * mExposureSC
GFXShaderConstHandle * mEyePosWorldSC
F32 mHeight
U32 mLastTime
GFXShaderConstHandle * mModelViewProjSC
GFXShaderConstHandle * mNormalHeightMapSC
GFXPrimitiveBufferHandle mPB
GFXShaderRef mShader
GFXShaderConstBufferRef mShaderConsts
GFXStateBlockRef mStateblock
GFXShaderConstHandle * mSunColorSC
GFXShaderConstHandle * mSunVecSC
Point2F mTexDirection [TEX_COUNT]
Point2F mTexOffset [3]
GFXShaderConstHandle * mTexOffsetSC [3]
F32 mTexScale [TEX_COUNT]
GFXShaderConstHandle * mTexScaleSC
F32 mTexSpeed [TEX_COUNT]
GFXTexHandle mTexture
String mTextureName
GFXVertexBufferHandle< GFXCloudVertex > mVB
F32 mWindSpeed
Public Functions
CloudLayer()
~CloudLayer()
DECLARE_CONOBJECT(CloudLayer )
inspectPostApply()
Reimplemented from: SceneObject
onAdd()
Reimplemented from: SceneObject
onRemove()
Reimplemented from: SceneObject
packUpdate(NetConnection * conn, U32 mask, BitStream * stream)
Reimplemented from: SceneObject
prepRenderImage(SceneRenderState * state)
Reimplemented from: SceneObject
renderObject(ObjectRenderInst * ri, SceneRenderState * state, BaseMatInstance * mi)
unpackUpdate(NetConnection * conn, BitStream * stream)
Reimplemented from: SceneObject