Version: 2022.3

AudioClipLoadType

enumeration

切换到手册

描述

确定音频剪辑的加载方式。

Determines whether the audio clip will be either loaded in memory in compressed form, such that every playback will decode the data on the fly ("CompressedInMemory"), decompressed at Scene startup such that the clip can be played back at very low CPU usage and the audio data in it can be modified ("DecompressOnLoad"), or streamed directly from the disk which will typically result in the lowest memory usage, as only the data for a short stream buffer needs to be kept in memory ("Streaming").

变量

DecompressOnLoad加载音频剪辑时解压缩音频数据。
CompressedInMemory剪辑的音频数据将以压缩格式保留在内存中。
Streaming从磁盘流式传输音频数据。