Sound.minDistance

The minimum distance of the sound.

The "minimum distance" of a sound is the maximum distance at which it is heard at its maximum volume. Further than the minimum distance, it will start to fade out according to its attenuation factor. A value of 0 ("inside the head of the listener") is an invalid value and is forbidden. The default value of the minimum distance is 1.

  1. float minDistance [@property setter]
  2. float minDistance [@property getter]
    class Sound
    @property
    float
    minDistance
    (
    )

Meta