OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
anonymous_namespace{scenemanager.cpp}::InitWorldSpaceParticlesVisitor Class Reference
Inheritance diagram for anonymous_namespace{scenemanager.cpp}::InitWorldSpaceParticlesVisitor:
Collaboration diagram for anonymous_namespace{scenemanager.cpp}::InitWorldSpaceParticlesVisitor:

Public Member Functions

 InitWorldSpaceParticlesVisitor (unsigned int mask)
 
bool isWorldSpaceParticleSystem (osgParticle::ParticleSystem *partsys)
 
void apply (osg::Drawable &drw)
 
void transformInitialParticles (osgParticle::ParticleSystem *partsys, osg::Node *node)
 

Private Attributes

unsigned int mMask
 

Detailed Description

Todo:
Do this in updateCallback so that animations are accounted for.

Constructor & Destructor Documentation

anonymous_namespace{scenemanager.cpp}::InitWorldSpaceParticlesVisitor::InitWorldSpaceParticlesVisitor ( unsigned int  mask)
inline
Parameters
maskThe node mask to set on ParticleSystem nodes.

Member Function Documentation

void anonymous_namespace{scenemanager.cpp}::InitWorldSpaceParticlesVisitor::apply ( osg::Drawable &  drw)
inline
bool anonymous_namespace{scenemanager.cpp}::InitWorldSpaceParticlesVisitor::isWorldSpaceParticleSystem ( osgParticle::ParticleSystem *  partsys)
inline
void anonymous_namespace{scenemanager.cpp}::InitWorldSpaceParticlesVisitor::transformInitialParticles ( osgParticle::ParticleSystem *  partsys,
osg::Node *  node 
)
inline

Here is the call graph for this function:

Member Data Documentation

unsigned int anonymous_namespace{scenemanager.cpp}::InitWorldSpaceParticlesVisitor::mMask
private

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