GetSoundGain

From MaratisWiki
Jump to: navigation, search

getSoundGain(object)

Get the sound gain.

  • object : object to operate on

Example: Print the sound gain in the console:

   Sound = getObject("Sound")
   function onSceneUpdate()
       SndGain = getSoundGain(Sound)
       if isKeyPressed("A") then print(SndGain) end
   end
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox