GetSoundGain

From MaratisWiki
Revision as of 09:04, 8 November 2012 by Vegas (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Get the sound gain.

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