sound_3d_set_sound_distance(snd,mindist,maxdist)

From ENIGMA
Jump to navigation Jump to search

Description

Sets the minimum distance at which the sound does no longer increase in loudness and the maximum distance at which the sound can no longer be heard. So when the distance lies between 0 and the minimum distance the sound is at maximal amplitude. When between the minimal distance and the maximal distance the amplitude slowly decreases until either the maximal distance is reached or the sound is anyway no longer audible. Default the minimum distance is 1 meter and the maximal distance is 1 billion meters.

Parameters

Parameter Description
parameter list parameters with a description of each...

Return Values

returntype: Returns...

Example Call

// Example of using the function.