ForestWindMgr

Engine/source/forest/forestWindMgr.h

More...

Protected Types

Signal< void(const Point3F &camPos, const F32 radius, Vector< TreePlacementInfo > *placementInfo)>
WindAdvanceSignal 

Protected Static Attributes

Public Static Attributes

Protected Functions

advanceTime(F32 timeDelta)

This method is called once every frame regardless of the return value of isProcessingTicks and informs the object of the passage of time.

This method is called every frame and lets the control interpolate between ticks so you can smooth things as long as isProcessingTicks returns true when it is called on the object.

This method is called once every 32ms if isProcessingTicks returns true when called on the object.

Detailed Description

Protected Types

typedef HashTable< U32, ForestWindAccumulator * > IdToWindMap 
typedef Signal< void(const Point3F &camPos, const F32 radius, Vector< TreePlacementInfo > *placementInfo)> WindAdvanceSignal 

Protected Attributes

ForestWindEmitterList mEmitters 
Vector< TreePlacementInfo > mPlacementInfo 
IdToWindMap * mPrevSources 
IdToWindMap * mSources 

Protected Static Attributes

WindAdvanceSignal smAdvanceSignal 

Public Static Attributes

F32 smWindEffectRadius 

Protected Functions

advanceTime(F32 timeDelta)

Reimplemented from: ITickable

interpolateTick(F32 delta)

Reimplemented from: ITickable

processTick()

Reimplemented from: ITickable