Public Member Functions | |
ParticleEffect () | |
ParticleEffect (const ParticleEffect ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
virtual const char * | libraryName () const |
return the name of the node's library. | |
virtual const char * | className () const |
return the name of the node's class type. | |
virtual bool | isSameKindAs (const osg::Object *obj) const |
virtual void | accept (osg::NodeVisitor &nv) |
void | setEmitter (Emitter *emitter) |
Emitter * | getEmitter () |
const Emitter * | getEmitter () const |
void | setProgram (Program *program) |
Program * | getProgram () |
const Program * | getProgram () const |
void | setParticleSystem (ParticleSystem *ps) |
ParticleSystem * | getParticleSystem () |
const ParticleSystem * | getParticleSystem () const |
virtual void | buildEffect ()=0 |
Protected Attributes | |
osg::ref_ptr< Emitter > | _emitter |
osg::ref_ptr< Program > | _program |
osg::ref_ptr< ParticleSystem > | _particleSystem |
|
|
|
|
|
|
|
Implemented in osgParticle::ExplosionEffect, osgParticle::FireEffect, and osgParticle::SmokeEffect. |
|
return the name of the node's class type.
Reimplemented from osg::Node. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return the name of the node's library.
Reimplemented from osg::Node. |
|
|
|
|
|
|
|
|
|
|
|
|