29 #ifndef SAMPLE_LIBRARY_H 30 #define SAMPLE_LIBRARY_H 33 #include "scene/resources/sample.h" 46 SampleData() { db=0; pitch_scale=1; }
56 static void _bind_methods();
63 bool has_sample(
const StringName& p_name)
const;
64 void sample_set_volume_db(
const StringName& p_name,
float p_db);
65 float sample_get_volume_db(
const StringName& p_name)
const;
66 void sample_set_pitch_scale(
const StringName& p_name,
float p_pitch);
67 float sample_get_pitch_scale(
const StringName& p_name)
const;
76 #endif // SAMPLE_LIBRARY_H
Definition: string_db.h:48
Definition: sample_library.h:36
Definition: resource.h:89