SetSoundGain

From MaratisWiki
Revision as of 00:02, 9 February 2014 by Dahnielson (Talk | contribs)
Jump to: navigation, search

setSoundGain(object, gain)

Change the current sound gain.

  • object : object to operate on
  • gain : gain of sound

Note:

  • The maximum value is 1
  • The lowest value is 0

Example:

   setSoundGain(Sound, 0.5) --set sound volume at 50%
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox