Public Member Functions | |
SoundRoot () | |
Default constructor. | |
META_Node (osgAL, SoundRoot) | |
void | traverse (osg::NodeVisitor &nv) |
void | setUpdateEnable (bool flag) |
bool | getUpdateEnable () const |
Protected Member Functions | |
virtual | ~SoundRoot () |
Destructor. | |
SoundRoot (const SoundRoot ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
Copy constructor. | |
SoundRoot & | operator= (const SoundRoot &node) |
Assignment operator. |
This class updates the internal state of the osgAL::SoundManager during cull traversal from the current modelView matrix. The cull traversal for this node should be called after any changes are made to the SoundManager (added SoundState events or such).
osgAL::SoundRoot::SoundRoot | ( | ) |
Default constructor.
virtual osgAL::SoundRoot::~SoundRoot | ( | ) | [inline, protected, virtual] |
Destructor.
osgAL::SoundRoot::SoundRoot | ( | const SoundRoot & | copy, | |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY | |||
) | [protected] |
Copy constructor.
osgAL::SoundRoot::META_Node | ( | osgAL | , | |
SoundRoot | ||||
) |
void osgAL::SoundRoot::traverse | ( | osg::NodeVisitor & | nv | ) |
Executed during traversal of the scenegraph. If the NodeVisitor is a CullVisitor the orientation/position and velocity of the listener is updated.
void osgAL::SoundRoot::setUpdateEnable | ( | bool | flag | ) | [inline] |
bool osgAL::SoundRoot::getUpdateEnable | ( | ) | const [inline] |