Torque3D Documentation / _generateds / SceneLighting::ObjectProxy

SceneLighting::ObjectProxy

Engine/source/lighting/common/sceneLighting.h

Create a proxy for each object to store data.

More...

Lighting Interface

bool
postLight(bool lastLight)

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.

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