A node that updates the transformation of the listener. Should traversed before any SoundNode nodes.
More...
List of all members.
Detailed Description
A node that updates the transformation of the listener. Should traversed before any SoundNode nodes.
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).
Constructor & Destructor Documentation
osgAL::SoundRoot::SoundRoot |
( |
|
) |
|
virtual osgAL::SoundRoot::~SoundRoot |
( |
|
) |
[inline, protected, virtual] |
osgAL::SoundRoot::SoundRoot |
( |
const SoundRoot & |
copy, |
|
|
const osg::CopyOp & |
copyop = osg::CopyOp::SHALLOW_COPY | |
|
) |
| | [protected] |
Member Function Documentation
bool osgAL::SoundRoot::getUpdateEnable |
( |
|
) |
const [inline] |
osgAL::SoundRoot::META_Node |
( |
osgAL |
, |
|
|
SoundRoot |
| |
|
) |
| | |
void osgAL::SoundRoot::setUpdateEnable |
( |
bool |
flag |
) |
[inline] |
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.
The documentation for this class was generated from the following file: