SceneLighting::ObjectProxy
Engine/source/lighting/common/sceneLighting.h
Create a proxy for each object to store data.
Lighting Interface
Lighting events
processTGELightProcessEvent(U32 curr, U32 max, LightInfo * )
bool
processStartObjectLightingEvent(U32 current, U32 max)
processSGObjectProcessEvent(LightInfo * currLight)
Persistence
We cache lighting information to cut down on load times.
There are flags such as ForceAlways and LoadOnly which allow you to control this behaviour.
bool
bool
bool
bool
Public Attributes
Public Functions
ObjectProxy(SceneObject * obj)
addToShadowVolume(ShadowVolumeBSP * shadowVolume, LightInfo * light, S32 level)
getClipPlanes(Vector< PlaneF > & planes)
bool
Detailed Description
Create a proxy for each object to store data.
Lighting Interface
loadResources()
init()
Reimplemented by: blTerrainProxy
tgePreLight(LightInfo * light)
preLight(LightInfo * )
Reimplemented by: blTerrainProxy
light(LightInfo * )
Reimplemented by: blTerrainProxy
postLight(bool lastLight)
Lighting events
processLightingStart()
processTGELightProcessEvent(U32 curr, U32 max, LightInfo * )
processStartObjectLightingEvent(U32 current, U32 max)
processSGObjectProcessEvent(LightInfo * currLight)
Persistence
We cache lighting information to cut down on load times.
There are flags such as ForceAlways and LoadOnly which allow you to control this behaviour.
calcValidation()
isValidChunk(PersistInfo::PersistChunk * )
getResourceCRC()
Reimplemented by: blTerrainProxy
setPersistInfo(PersistInfo::PersistChunk * )
Reimplemented by: blTerrainProxy
getPersistInfo(PersistInfo::PersistChunk * )
Reimplemented by: blTerrainProxy
Public Attributes
U32 mChunkCRC
SimObjectPtr< SceneObject > mObj
Public Functions
ObjectProxy(SceneObject * obj)
~ObjectProxy()
addToShadowVolume(ShadowVolumeBSP * shadowVolume, LightInfo * light, S32 level)
Reimplemented by: blTerrainProxy
getClipPlanes(Vector< PlaneF > & planes)
Reimplemented by: blTerrainProxy
getObject()
operator->()
supportsShadowVolume()
Reimplemented by: blTerrainProxy