#include <_src_fx_partsys_medium.hh>

Public Member Functions | |
| MediumParticleSystem (const Args &arg) | |
| ~MediumParticleSystem () | |
| void | AttachParticle (const MediumParticle &mediumParticle) |
| uint | GetParticleCount (void) const |
| void | SetColorAll (const RGBA color) |
Private Types | |
| typedef ParticleSystem | Parent |
Private Attributes | |
| bool | mAttachedToSceneGraph |
| lazy-attached in case of no particles | |
| const NodeSort | mNodeSort |
| for state-sorting | |
| RefPtr< osg::StateSet > | mStateSet |
| specifies texture (and any other state) | |
| RefPtr< osg::Geode > | mGeode |
| RefPtr< osg::Geometry > | mGeom |
| RefPtr< MediumParticleDrawable > | mMediumParticleDrawable |
| for adjusting size of every point sprite | |
Friends | |
| class | FX |
| class | shptr< MediumParticleSystem > |
| class | MediumParticleDrawable |
Classes | |
| struct | Args |
| Args for MediumParticleSystem ctor. More... | |
This particle system is very fast but it has deficiencies. Left unimplemented was a mechanism to update particles. MediumParticleSystem has a crude way to adjust size of point sprites by distance (but it's imperfect and hardware limits point size).
Texture is specified by stateset. Example: new MediumParticleSystem( MediumParticleSystem::Args( Texture::NewTextureAsStateSet( "smoke.png" ) ) );
typedef ParticleSystem fx::MediumParticleSystem::Parent [private] |
Reimplemented in fx::TrailParticleSystem.
| fx::MediumParticleSystem::MediumParticleSystem | ( | const Args & | args | ) |
ctor/dtor.
| fx::MediumParticleSystem::~MediumParticleSystem | ( | ) |
| void fx::MediumParticleSystem::AttachParticle | ( | const MediumParticle & | mediumParticle | ) |
Append MediumParticle. Time-of-death is absolute (add current time to lifetime).
| uint fx::MediumParticleSystem::GetParticleCount | ( | void | ) | const |
| void fx::MediumParticleSystem::SetColorAll | ( | const RGBA | color | ) |
friend class FX [friend] |
friend class shptr< MediumParticleSystem > [friend] |
friend class MediumParticleDrawable [friend] |
bool fx::MediumParticleSystem::mAttachedToSceneGraph [private] |
lazy-attached in case of no particles
const NodeSort fx::MediumParticleSystem::mNodeSort [private] |
for state-sorting
RefPtr<osg::StateSet> fx::MediumParticleSystem::mStateSet [private] |
specifies texture (and any other state)
RefPtr<osg::Geode> fx::MediumParticleSystem::mGeode [private] |
RefPtr<osg::Geometry> fx::MediumParticleSystem::mGeom [private] |
RefPtr<MediumParticleDrawable> fx::MediumParticleSystem::mMediumParticleDrawable [private] |
for adjusting size of every point sprite
Palomino Flight Simulator documents generated by doxygen 1.5.6 on Tue Sep 28 11:37:49 2010