播放
2 个节点
本页内容 2
播放是否可用
函数Whether this machine has an audio device that AudioPlayback.Play can use.
签名
播放是否可用() -> 真否
bool IsPlaybackAvailable()
返回
| 可用 | 真否 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 播放
- 所属包
- 音频处理
播放
函数Plays a clip through the default audio device, and waits until it has finished.
签名
播放(音频: AudioBuffer) -> AudioBuffer
AudioBuffer Play(AudioBuffer audio)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 音频 | AudioBuffer | — | The clip to play. |
返回
| 音频 | AudioBuffer |
备注
Waiting is what lets a program play one sound after another: the next step starts when this one has been heard. With no audio device, this stops the program and says so rather than playing nothing silently.
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 播放
- 所属包
- 音频处理