WindEmitter

Engine/source/T3D/fx/windEmitter.h

More...

Protected Static Attributes

Public Static Functions

bool
findBest(const Point3F & cameraPos, const VectorF & cameraDir, F32 viewDistance, U32 maxResults, WindEmitterList * results)

Protected Static Functions

Detailed Description

Protected Attributes

bool mEnabled 
F32 mScore 
SphereF mSphere 
F32 mStrength 
F32 mTurbulenceFrequency 
F32 mTurbulenceStrength 
VectorF mVelocity 

Protected Static Attributes

WindEmitterList smAllEmitters 

Public Functions

WindEmitter()

~WindEmitter()

getCenter()

getRadius()

getStrength()

getTurbulenceFrequency()

getTurbulenceStrength()

getVelocity()

operator const SphereF&()

setPosition(const Point3F & pos)

setRadius(F32 radius)

setStrength(F32 strength)

setTurbulency(F32 frequency, F32 strength)

update(const Point3F & pos, const VectorF & velocity)

Public Static Functions

findBest(const Point3F & cameraPos, const VectorF & cameraDir, F32 viewDistance, U32 maxResults, WindEmitterList * results)

Protected Static Functions

_sortByScore(const void * a, const void * b)