RigsofRods
Soft-body Physics Simulation
doc
angelscript
Script2Game
SoundScriptTemplateClass.h
Go to the documentation of this file.
1
2
namespace
Script2Game
{
3
16
class
SoundScriptTemplateClass
17
{
18
public
:
19
int
getNumSounds
();
20
string
getSoundName
(
int
);
21
float
getSoundPitch
(
int
);
22
23
string
name
;
24
string
file_name
;
25
string
group_name
;
26
30
bool
base_template
;
31
bool
has_start_sound
;
32
bool
has_stop_sound
;
33
bool
unpitchable
;
34
35
float
gain_multiplier
;
36
float
gain_offset
;
37
float
gain_square
;
38
ModulationSources
gain_source
39
40
float
pitch_multiplier
;
41
float
pitch_offset
;
42
float
pitch_square
;
43
ModulationSources
pitch_source
44
45
string
start_sound_name
;
46
float
start_sound_pitch
;
47
string
stop_sound_name
;
48
float
stop_sound_pitch
;
49
50
SoundTriggers
trigger_source
;
51
52
};
53
56
57
}
//namespace Script2Game
Script2Game::SoundTriggers
SoundTriggers
Binding of RoR::SoundTriggers
Definition:
sound_enums.h:32
Script2Game::SoundScriptTemplateClass::getNumSounds
int getNumSounds()
Script2Game::SoundScriptTemplateClass::gain_square
float gain_square
Definition:
SoundScriptTemplateClass.h:37
Script2Game::SoundScriptTemplateClass::unpitchable
bool unpitchable
Definition:
SoundScriptTemplateClass.h:33
Script2Game::SoundScriptTemplateClass::name
string name
Definition:
SoundScriptTemplateClass.h:23
Script2Game
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
Definition:
BeamClass.h:2
Script2Game::SoundScriptTemplateClass::getSoundName
string getSoundName(int)
Script2Game::SoundScriptTemplateClass::stop_sound_name
string stop_sound_name
Definition:
SoundScriptTemplateClass.h:47
Script2Game::SoundScriptTemplateClass::has_start_sound
bool has_start_sound
Definition:
SoundScriptTemplateClass.h:31
Script2Game::ModulationSources
ModulationSources
Binding of RoR::ModulationSources
Definition:
sound_enums.h:105
Script2Game::SoundScriptTemplateClass::pitch_square
float pitch_square
Definition:
SoundScriptTemplateClass.h:42
Script2Game::SoundScriptTemplateClass::start_sound_name
ModulationSources pitch_source string start_sound_name
Definition:
SoundScriptTemplateClass.h:45
Script2Game::SoundScriptTemplateClass
Binding of RoR::SoundScriptTemplate; a customizable sound effect.
Definition:
SoundScriptTemplateClass.h:16
Script2Game::SoundScriptTemplateClass::gain_offset
float gain_offset
Definition:
SoundScriptTemplateClass.h:36
Script2Game::SoundScriptTemplateClass::getSoundPitch
float getSoundPitch(int)
Script2Game::SoundScriptTemplateClass::start_sound_pitch
float start_sound_pitch
Definition:
SoundScriptTemplateClass.h:46
Script2Game::SoundScriptTemplateClass::group_name
string group_name
Definition:
SoundScriptTemplateClass.h:25
Script2Game::SoundScriptTemplateClass::pitch_offset
float pitch_offset
Definition:
SoundScriptTemplateClass.h:41
Script2Game::SoundScriptTemplateClass::stop_sound_pitch
float stop_sound_pitch
Definition:
SoundScriptTemplateClass.h:48
Script2Game::SoundScriptTemplateClass::gain_multiplier
float gain_multiplier
Definition:
SoundScriptTemplateClass.h:35
Script2Game::SoundScriptTemplateClass::has_stop_sound
bool has_stop_sound
Definition:
SoundScriptTemplateClass.h:32
Script2Game::SoundScriptTemplateClass::trigger_source
SoundTriggers trigger_source
Definition:
SoundScriptTemplateClass.h:50
Script2Game::SoundScriptTemplateClass::file_name
string file_name
Definition:
SoundScriptTemplateClass.h:24
Script2Game::SoundScriptTemplateClass::pitch_multiplier
ModulationSources gain_source float pitch_multiplier
Definition:
SoundScriptTemplateClass.h:40
Script2Game::SoundScriptTemplateClass::base_template
bool base_template
This template is from the base game, not from a mod.
Definition:
SoundScriptTemplateClass.h:30
Generated by
1.8.17