Parameters |
Description |
sound |
Sound identifier. |
minDist |
Minimum distance. |
maxDist |
Maximum distance. |
Syntax: Sound.SetMinMaxDistance(ISound* sound, float minDist, float maxDist)
Sets the minimum and the maximum distances for the sound.
! Set distance attenuation of a sound @param iSoundID ID of the sound @param fMinDist Minimum distance, normally 0 @param fMaxDist Maximum distance at which the sound can be heard
Copyright (c) 2012. All rights reserved.
|