Public Methods | |
SoundRoot () | |
Default constructor. More... | |
virtual const char * | libraryName () const |
virtual const char * | className () const |
virtual bool | isSameKindAs (const osg::Object *obj) const |
virtual void | accept (osg::NodeVisitor &nv) |
void | traverse (osg::NodeVisitor &nv) |
Protected Methods | |
virtual | ~SoundRoot () |
Destructor. More... | |
SoundRoot (const SoundRoot ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
Copy constructor. More... | |
SoundRoot & | operator= (const SoundRoot &node) |
Assignment operator. More... | |
Private Attributes | |
double | m_last_time |
double | m_first_run |
osg::Vec3 | m_last_pos |
int | m_last_traversal_number |
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).
|
Default constructor.
|
|
Destructor.
|
|
Copy constructor.
|
|
|
|
|
|
|
|
|
|
Assignment operator.
|
|
Executed during traversal of the scenegraph. If the NodeVisitor is a CullVisitor the orientation/position and velocity of the listener is updated. |
|
|
|
|
|
|
|
|