Sound.mindistance
readwrite |
Get or set the minimum distance for attentation calculation. This property default value is set to 0.0
Example
--! luart-extensions
import audio
local console = require "console"
local sound = audio.Sound("music.mp3")
print(sound.mindistance)