setVolume

.setVolume( volume )

Sets the volume for this Sound object. This is a value from 0.0 to 1.0, and defaults to 0.75.

This value is independent of the global volume, which can be set using the 'setVolume' function. This volume will be multiplied against the global volume, to find the actual volume for the game.

See also

setVolume - getVolume