#include <_src_fx_partsys_small.hh>

Public Member Functions | |
| SmallParticleSystem (const Args &arg) | |
| ~SmallParticleSystem () | |
| void | AttachParticle (const SmallParticle &smallParticle) |
| uint | GetParticleCount (void) const |
| void | SetColorAll (const RGBA color) |
Private Types | |
| typedef ParticleSystem | Parent |
Private Attributes | |
| RefPtr< osg::StateSet > | mStateSet |
| specifies texture (and any other state) | |
| RefPtr< osg::Geode > | mGeode |
| RefPtr< osg::Geometry > | mGeom |
| RefPtr< osg::Vec3Array > | mVertexs |
| RefPtr< osg::DrawArrays > | mDrawArray |
Friends | |
| class | FX |
| class | shptr< SmallParticleSystem > |
Classes | |
| struct | Args |
| Args for SmallParticleSystem ctor. More... | |
This particle system is very fast but it has deficiencies. Left unimplemented was a mechanism to update particles.
Texture is specified by stateset. Example: new SmallParticleSystem( SmallParticleSystem::Args( Texture::NewTextureAsStateSet( "smoke.png" ) ) );
typedef ParticleSystem fx::SmallParticleSystem::Parent [private] |
| fx::SmallParticleSystem::SmallParticleSystem | ( | const Args & | args | ) |
ctor/dtor.
| fx::SmallParticleSystem::~SmallParticleSystem | ( | ) |
| void fx::SmallParticleSystem::AttachParticle | ( | const SmallParticle & | smallParticle | ) |
Append SmallParticle.
| uint fx::SmallParticleSystem::GetParticleCount | ( | void | ) | const |
| void fx::SmallParticleSystem::SetColorAll | ( | const RGBA | color | ) |
Set colors of all particles.
friend class FX [friend] |
Reimplemented from fx::ParticleSystem.
friend class shptr< SmallParticleSystem > [friend] |
RefPtr<osg::StateSet> fx::SmallParticleSystem::mStateSet [private] |
specifies texture (and any other state)
RefPtr<osg::Geode> fx::SmallParticleSystem::mGeode [private] |
RefPtr<osg::Geometry> fx::SmallParticleSystem::mGeom [private] |
RefPtr<osg::Vec3Array> fx::SmallParticleSystem::mVertexs [private] |
RefPtr<osg::DrawArrays> fx::SmallParticleSystem::mDrawArray [private] |
Palomino Flight Simulator documents generated by doxygen 1.5.6 on Tue Sep 28 11:37:49 2010