Rigs of Rods 2023.09
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
SoundScriptInstanceClass.h
Go to the documentation of this file.
1
2namespace Script2Game {
3
18{
19public:
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();
35 float getSoundPitchgain(int pos);
37 const string& getInstanceName();
38}
39
42
43} //namespace Script2Game
Binding of RoR::Sound; a single sound sample positioned in 3D space (spatial audio).
Definition SoundClass.h:18
Binding of RoR::SoundScriptInstance; instance of SoundScriptTemplateClass.
SoundScriptTemplateClass getTemplate() SoundClass getStartSound()
Binding of RoR::SoundScriptTemplate; a customizable sound effect.
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.