Sound.maxgain
readwrite |
Get or set the maximum gain to apply from spatialization. This property default value is set to 1.0
Example
--! luart-extensions
import audio
local console = require "console"
local sound = audio.Sound("music.mp3")
print(sound.maxgain)