Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
AudioStreamPlaylist
继承: AudioStream < Resource < RefCounted < Object
AudioStream 包含子音频流并像播放列表一样播放它们。
属性
|
||
|
||
|
||
|
方法
get_bpm() const |
|
get_list_stream(stream_index: int) const |
|
void |
set_list_stream(stream_index: int, audio_stream: AudioStream) |
常量
MAX_STREAMS = 64
🔗
播放列表中支持的音频流的最大数量。
属性说明
音频流结束、切换到下一个音频流时,淡入淡出的时间。音频流的最后应该留有一些额外的音频,便于淡入淡出。
如果为 true
,则播放列表将循环播放,否则播放列表将在播放完最后一个音频流时结束。
如果为 true
,则每次播放开始和循环时,播放列表都会随机播放。
播放列表中音频流的数量。
方法说明
返回播放列表的 BPM(每分钟节拍数),该值可能根据正在播放的剪辑而变化。
AudioStream get_list_stream(stream_index: int) const 🔗
返回播放位置索引处的音频流。
void set_list_stream(stream_index: int, audio_stream: AudioStream) 🔗
设置播放位置索引处的音频流。