用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:enumerations:audiocliploadtype:audiocliploadtype

AudioClipLoadType 音频剪辑加载类型

enumeration

Description 描述

Determines how the audio clip is loaded in.

决定音频剪辑如何加载。

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 ir 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”).

决定是否音频剪辑将以压缩格式被加载进内存,每次重播将会快速在解压数据(“CompressedInMemory”),在场景启动时压缩,剪辑可以用非常低的CPU使用率重播并且在信息检索中的音频数据将被修改(“DecompressOnLoad”),或者流直接从磁盘导致最低内存使用率,仅当该数据作为短流缓存需要去保留在内存中(“Streaming”),

Variables 变量

DecompressOnLoadThe audio data is decompressed when the audio clip is loaded.
当音频剪辑被加载,音频剪辑数据被压缩。
CompressedInMemoryThe audio data of the clip will be kept in memory in compressed form.
该音频数据的剪辑将会以压缩格式被保留在内存中。
StreamingStreams audio data from disk.
磁盘上的流音效数据。
script/unityengine/enumerations/audiocliploadtype/audiocliploadtype.txt · 最后更改: 2016/08/15 03:58 由 hulang