SkyBox

Engine/source/environment/skyBox.h

More...

Private Types

Parent 

Public Functions

Prepares rendering structures and geometry.

Our render delegate.

Called after any property of the object is changed in the world editor.

bool

Called when the object is added to the sim.

Called when the object is removed from 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.

Called when the SceneManager is ready for the registration of render instances.

Instructs this object to read state data previously packed with packUpdate.

Public Static 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

Public Static Functions

initPersistFields()