SetSoundGain

From MaratisWiki
Revision as of 00:03, 9 February 2014 by Dahnielson (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

setSoundGain(object, gain)

Change the current sound gain.

  • object : object to operate on
  • gain : gain of sound
   setSoundGain(Sound, 0.5) --set sound volume at 50%

Note:

  • The maximum value is 1
  • The lowest value is 0
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox