File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 13
13
<link title =" Audio Spectrum Visualizer Demo" >https://godotengine.org/asset-library/asset/2762</link >
14
14
</tutorials >
15
15
<methods >
16
+ <method name =" _get_bar_beats" qualifiers =" virtual const" >
17
+ <return type =" int" />
18
+ <description >
19
+ Override this method to return the bar beats of this stream.
20
+ </description >
21
+ </method >
16
22
<method name =" _get_beat_count" qualifiers =" virtual const" >
17
23
<return type =" int" />
18
24
<description >
45
51
Override this method to customize the name assigned to this audio stream. Unused by the engine.
46
52
</description >
47
53
</method >
54
+ <method name =" _has_loop" qualifiers =" virtual const" >
55
+ <return type =" bool" />
56
+ <description >
57
+ Override this method to return [code]true[/code] if this stream has a loop.
58
+ </description >
59
+ </method >
48
60
<method name =" _instantiate_playback" qualifiers =" virtual const" >
49
61
<return type =" AudioStreamPlayback" />
50
62
<description >
Original file line number Diff line number Diff line change @@ -352,6 +352,8 @@ void AudioStream::_bind_methods() {
352
352
GDVIRTUAL_BIND (_get_bpm)
353
353
GDVIRTUAL_BIND (_get_beat_count)
354
354
GDVIRTUAL_BIND (_get_parameter_list)
355
+ GDVIRTUAL_BIND (_has_loop);
356
+ GDVIRTUAL_BIND (_get_bar_beats);
355
357
356
358
ADD_SIGNAL (MethodInfo (" parameter_list_changed" ));
357
359
}
You can’t perform that action at this time.
0 commit comments