App Hub

代码示例详细信息

3D Audio

已提交
2007/4/26
代码示例

Description:

This sample shows how to position sounds in 3D space by implementing panning, Doppler, and distance attenuation effects.

Sample Overview

3D audio is a bit more complicated than playing regular cues. It's not good enough to just "fire and forget" a 3D sound. As the listener or the entity that created a sound moves around the world, you must update the 3D audio settings to reflect these changes.

This sample demonstrates how to overcome this problem by implementing an AudioManager component that keeps track of cue instances and automatically updates their 3D settings.



All content and source code downloaded from this page are bound to the Microsoft Permissive License (Ms-PL).

下载项

Framework

GS 4.0

查找教育内容
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG