SkyBox
Engine/source/environment/skyBox.h
Private Types
Parent
Protected Attributes
Public Functions
SkyBox()
~SkyBox()
Prepares rendering structures and geometry.
_renderObject(ObjectRenderInst * ri, SceneRenderState * state, BaseMatInstance * mi)
Our render delegate.
Called after any property of the object is changed in the world editor.
bool
onAdd()
Called when the object is added to the sim.
onStaticModified(const char * slotName, const char * newValue)
Specifically, these are called by setDataField when a static or dynamic field is modified, see the console details.
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.
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
typedef SceneObject Parent
Protected Attributes
bool mDrawBottom
F32 mFogBandHeight
Material * mFogBandMat
BaseMatInstance * mFogBandMatInst
GFXVertexBufferHandle< GFXVertexPC > mFogBandVB
bool mIsVBDirty
LinearColorF mLastFogColor
SimObjectPtr< Material > mMaterial
BaseMatInstance * mMatInstance
String mMatName
SkyMatParams mMatParamHandle
MatrixSet * mMatrixSet
U32 mPrimCount
GFXVertexBufferHandle< GFXVertexPNT > mVB
Public Functions
SkyBox()
~SkyBox()
_initRender()
Prepares rendering structures and geometry.
_renderObject(ObjectRenderInst * ri, SceneRenderState * state, BaseMatInstance * mi)
Our render delegate.
DECLARE_CONOBJECT(SkyBox )
inspectPostApply()
Reimplemented from: SceneObject
onAdd()
Reimplemented from: SceneObject
onRemove()
Reimplemented from: SceneObject
onStaticModified(const char * slotName, const char * newValue)
Reimplemented from: SimObject
packUpdate(NetConnection * conn, U32 mask, BitStream * stream)
Reimplemented from: SceneObject
prepRenderImage(SceneRenderState * state)
Reimplemented from: SceneObject
unpackUpdate(NetConnection * conn, BitStream * stream)
Reimplemented from: SceneObject