SceneSpace
Engine/source/scene/sceneSpace.h
Abstract base class for SceneObjects that define subspaces in a scene.
Protected Types
_Anonymous_ { TransformMask = Parent::NextFreeMask << 0 NextFreeMask = Parent::NextFreeMask << 1 }
Public Types
Parent
Protected Attributes
Protected Functions
_renderObject(ObjectRenderInst * ri, SceneRenderState * state, BaseMatInstance * overrideMat)
Render a visualization of the volume.
Public Functions
bool
onAdd()
Called when the object is added to the sim.
Called when the editor is deactivated.
Called when the editor is activated.
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.
setTransform(const MatrixF & mat)
Sets the Object -> World transform.
unpackUpdate(NetConnection * conn, BitStream * stream)
Instructs this object to read state data previously packed with packUpdate.
Detailed Description
Abstract base class for SceneObjects that define subspaces in a scene.
Use SceneObject::containsPoint to find out whether a given space contains a particular point.
Protected Types
@158
Enumerator
- TransformMask = Parent::NextFreeMask << 0
Object transform has changed.
- NextFreeMask = Parent::NextFreeMask << 1
Public Types
typedef SceneObject Parent
Protected Attributes
BaseMatInstance * mEditorRenderMaterial
Protected Functions
_createEditorRenderMaterial()
_getDefaultEditorSolidColor()
Reimplemented by: Portal, SFXSpace, Zone
_getDefaultEditorWireframeColor()
Reimplemented by: Portal
_renderObject(ObjectRenderInst * ri, SceneRenderState * state, BaseMatInstance * overrideMat)
Render a visualization of the volume.
Reimplemented by: ScenePolyhedralObject, ScenePolyhedralObject, AccumulationVolume, OcclusionVolume, Portal
Public Functions
SceneSpace()
~SceneSpace()
onAdd()
Reimplemented from: SceneObject
Reimplemented by: ScenePolyhedralObject, ScenePolyhedralObject, ScenePolyhedralZone, SceneRootZone, AccumulationVolume, OcclusionVolume
onEditorDisable()
Reimplemented from: SimObject
onEditorEnable()
Reimplemented from: SimObject
onRemove()
Reimplemented from: SceneObject
Reimplemented by: SceneRootZone, AccumulationVolume
packUpdate(NetConnection * conn, U32 mask, BitStream * stream)
Reimplemented from: SceneObject
Reimplemented by: AccumulationVolume, SceneSimpleZone, Portal, SceneAmbientSoundObject, SceneAmbientSoundObject, ScenePolyhedralObject, ScenePolyhedralObject, SceneZoneSpace
prepRenderImage(SceneRenderState * state)
Reimplemented from: SceneObject
Reimplemented by: SceneSimpleZone
setTransform(const MatrixF & mat)
Reimplemented from: SceneObject
Reimplemented by: ScenePolyhedralZone, SceneSimpleZone, AccumulationVolume, OcclusionVolume, Portal
unpackUpdate(NetConnection * conn, BitStream * stream)
Reimplemented from: SceneObject
Reimplemented by: AccumulationVolume, SceneSimpleZone, Portal, SceneAmbientSoundObject, SceneAmbientSoundObject, ScenePolyhedralObject, ScenePolyhedralObject, SceneZoneSpace