#include <LandscapeSound.h>

Public Member Functions | |
| virtual bool | readXML (XMLNode *node) |
| virtual bool | play (VirtualSoundSource *source) |
Protected Attributes | |
| std::vector < std::string > | files |
| float | gain |
| float | referencedistance |
| float | rolloff |
Definition at line 122 of file LandscapeSound.h.
| bool LandscapeSoundSoundFile::readXML | ( | XMLNode * | node | ) | [virtual] |
Implements LandscapeSoundSound.
Definition at line 212 of file LandscapeSound.cpp.
References S3D::checkDataFile(), XMLNode::failChildren(), file, files, gain, XMLNode::getNamedChild(), referencedistance, XMLNode::returnError(), and rolloff.
| bool LandscapeSoundSoundFile::play | ( | VirtualSoundSource * | source | ) | [virtual] |
Implements LandscapeSoundSound.
Definition at line 232 of file LandscapeSound.cpp.
References Sound::fetchOrCreateBuffer(), file, files, gain, S3D::getDataFile(), Sound::instance(), VirtualSoundSource::play(), referencedistance, rolloff, VirtualSoundSource::setGain(), VirtualSoundSource::setReferenceDistance(), and VirtualSoundSource::setRolloff().
std::vector<std::string> LandscapeSoundSoundFile::files [protected] |
float LandscapeSoundSoundFile::gain [protected] |
float LandscapeSoundSoundFile::referencedistance [protected] |
float LandscapeSoundSoundFile::rolloff [protected] |
1.5.3