Skip to content
supermaximo93 edited this page Sep 21, 2011 · 1 revision

C declaration
void soundPosition( int channel, int angle, int distance );

Pascal declaration
procedure soundPosition( channel, angle, distance : integer );


Parameters
channel: Specifies which sound channel you want to set the position of
angle: Specifies the angle at which the sound is positioned
distance: Specifies the distance away from the centre the sound is positioned


Description
Sets the specified sound channel to be played as if it were coming from somewhere in 3D space. Use the angle and distance parameters to position the sound channel in space.

Clone this wiki locally