AudioImporter.hardware 硬件

var hardware : bool

Description描述

Use hardware voice/decoder if available

如果可用使用硬件voice/decoder。

// Use hardware voice/decoder if available when importing
// Audio.
//当导入音频,如果可用,使用硬件 voice/decoder 

class UseHardwareDecoder extends AssetPostprocessor {
	function OnPreprocessAudio () {
		var audioImporter : AudioImporter = assetImporter;
		audioImporter.hardware = true;
	}
}
Page last updated: 2011-5-26