Pyrogenesis  trunk
Public Member Functions | Public Attributes | Private Attributes | List of all members
CParticleManager Class Reference

#include <ParticleManager.h>

Public Member Functions

 CParticleManager ()
 
 ~CParticleManager ()
 
CParticleEmitterTypePtr LoadEmitterType (const VfsPath &path)
 
void AddUnattachedEmitter (const CParticleEmitterPtr &emitter)
 Tell the manager to handle rendering of an emitter that is no longer attached to a unit. More...
 
void ClearUnattachedEmitters ()
 Delete unattached emitters if we don't wish to see them anymore (like in actor viewer) More...
 
void RenderSubmit (SceneCollector &collector, const CFrustum &frustum)
 
void Interpolate (const float simFrameLength)
 
float GetCurrentTime () const
 
Status ReloadChangedFile (const VfsPath &path)
 

Public Attributes

boost::mt19937 m_RNG
 Random number generator shared between all particle emitters. More...
 

Private Attributes

float m_CurrentTime
 
std::list< CParticleEmitterPtrm_UnattachedEmitters
 
boost::unordered_map< VfsPath, CParticleEmitterTypePtrm_EmitterTypes
 

Constructor & Destructor Documentation

CParticleManager::CParticleManager ( )
CParticleManager::~CParticleManager ( )

Member Function Documentation

void CParticleManager::AddUnattachedEmitter ( const CParticleEmitterPtr emitter)

Tell the manager to handle rendering of an emitter that is no longer attached to a unit.

void CParticleManager::ClearUnattachedEmitters ( )

Delete unattached emitters if we don't wish to see them anymore (like in actor viewer)

float CParticleManager::GetCurrentTime ( ) const
inline
void CParticleManager::Interpolate ( const float  simFrameLength)
CParticleEmitterTypePtr CParticleManager::LoadEmitterType ( const VfsPath path)
Status CParticleManager::ReloadChangedFile ( const VfsPath path)
void CParticleManager::RenderSubmit ( SceneCollector collector,
const CFrustum frustum 
)

Member Data Documentation

float CParticleManager::m_CurrentTime
private
boost::unordered_map<VfsPath, CParticleEmitterTypePtr> CParticleManager::m_EmitterTypes
private
boost::mt19937 CParticleManager::m_RNG

Random number generator shared between all particle emitters.

std::list<CParticleEmitterPtr> CParticleManager::m_UnattachedEmitters
private

The documentation for this class was generated from the following files: