RigsofRods
Soft-body Physics Simulation
SoundScriptInstanceClass.h
Go to the documentation of this file.
1 
2 namespace Script2Game {
3 
18 {
19 public:
20  void runOnce();
21  void setPitch(float pitch);
22  void setGain(float gain);
23  void setPosition(vector3 pos);
24  void setVelocity(vector3 velo);
25  void start();
26  void stop();
27  void kill();
28 
30  SoundClass getStartSound();
32  SoundClass getSound(int pos);
33  float getStartSoundPitchgain();
34  float getStopSoundPitchgain();
35  float getSoundPitchgain(int pos);
36  int getActorInstanceId();
37  const string& getInstanceName();
38 }
39 
42 
43 } //namespace Script2Game
Script2Game::SoundClass
Binding of RoR::Sound; a single sound sample positioned in 3D space (spatial audio).
Definition: SoundClass.h:17
Script2Game::SoundScriptInstanceClass::setPosition
void setPosition(vector3 pos)
Script2Game
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
Definition: BeamClass.h:2
Script2Game::SoundScriptInstanceClass::getActorInstanceId
int getActorInstanceId()
Script2Game::SoundScriptInstanceClass::getTemplate
SoundScriptTemplateClass getTemplate() SoundClass getStartSound()
Script2Game::SoundScriptInstanceClass::runOnce
void runOnce()
Script2Game::SoundScriptInstanceClass::getInstanceName
const string & getInstanceName()
Script2Game::SoundScriptInstanceClass::getSound
SoundClass getSound(int pos)
Script2Game::SoundScriptInstanceClass::setVelocity
void setVelocity(vector3 velo)
Script2Game::SoundScriptInstanceClass::getStopSoundPitchgain
float getStopSoundPitchgain()
Script2Game::SoundScriptInstanceClass::stop
void stop()
Script2Game::SoundScriptInstanceClass::getStartSoundPitchgain
float getStartSoundPitchgain()
Script2Game::SoundScriptTemplateClass
Binding of RoR::SoundScriptTemplate; a customizable sound effect.
Definition: SoundScriptTemplateClass.h:16
Script2Game::SoundScriptInstanceClass
Binding of RoR::SoundScriptInstance; instance of SoundScriptTemplateClass.
Definition: SoundScriptInstanceClass.h:17
Script2Game::SoundScriptInstanceClass::getSoundPitchgain
float getSoundPitchgain(int pos)
Script2Game::SoundScriptInstanceClass::setPitch
void setPitch(float pitch)
Script2Game::SoundScriptInstanceClass::kill
void kill()
Script2Game::SoundScriptInstanceClass::setGain
void setGain(float gain)
Script2Game::SoundScriptInstanceClass::start
void start()
Script2Game::SoundScriptInstanceClass::getStopSound
SoundClass getStopSound()