![]() |
VR-Forces Developer's Guide
|
Adds each particle system to the scene graph, either updates it based on position of scene object or art part.

Public Member Functions | |
| DtFxParticleSystemPositionUpdater (DtDe &de, DtFxParticleSystem *system, DtOsgSceneConnector *connector) | |
| virtual | ~DtFxParticleSystemPositionUpdater () |
| virtual void | traverse (osg::NodeVisitor &nv) |
| virtual void | setSystem (DtFxParticleSystem *system) |
| virtual void | setArtPart (int artPart) |
| virtual void | setOffset (DtVector offset) |
| virtual void | setStartEmit (bool autoEmit) |
| bool | startEmit () |
| virtual void | setLifetime (double seconds) |
Protected Member Functions | |
| virtual void | lookupArticulatedModel () |
| DtVector | computeWorldOffset () |
Protected Attributes | |
| DtDe & | myDe |
| DtFxParticleSystem * | mySystem |
| DtOsgSceneConnector * | myConnector |
| DtOsgArticulatedModel * | myArticulatedModel |
| const DtSceneObject * | mySceneObject |
| bool | myStartEmitting |
| int | myArtPart |
| DtVector | myOffset |
| bool | myInitted |
| bool | myPartMissing |
| double | myCreatedSimulationTime |
| double | myLifetime |
Private Member Functions | |
| DtFxParticleSystemPositionUpdater (const DtFxParticleSystemPositionUpdater &other) | |
| DtFxParticleSystemPositionUpdater & | operator= (const DtFxParticleSystemPositionUpdater &other) |
| makVrv::DtFxParticleSystemPositionUpdater::DtFxParticleSystemPositionUpdater | ( | DtDe & | de, |
| DtFxParticleSystem * | system, | ||
| DtOsgSceneConnector * | connector | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
private |
Copy Constructor not implemented – Copy Not Allowed.
|
virtual |
base class override
|
virtual |
sets or clears system
|
virtual |
sets the art part to use instead of the base of the model
|
virtual |
sets an offset for the particle system in DIS format (forward, right, down)
|
virtual |
set whether to start emitting on traverse
| bool makVrv::DtFxParticleSystemPositionUpdater::startEmit | ( | ) |
get whether to auto start emitting on traversal
|
virtual |
the amount of time, in seconds, after the initial creation of the particle system effect before it will no longer start emitting particles. Particles are emitted on first traversal of the scene graph node that contains the particle system effect. If the first traversal occurs past the life time of the particle system, no particles are emitted.
|
private |
Assignment Operator Not implemented – Assignment Not Allowed.
|
protectedvirtual |
searches the scene object for an articulated model to use
|
protected |
compute the local offset in world space
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |