Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Sound.HTML5AudioSoundManager
setVolume(value)
Description:
Sets the volume of this Sound Manager.
Parameters:
name
type
description
value
number
The global volume of this Sound Manager.
Returns:
Description:
This Sound Manager.
Type:
Phaser.Sound.HTML5AudioSoundManager
Fires:
Phaser.Sound.Events.GLOBAL_VOLUME
Since:
3.3.0
Source:
src/sound/html5/HTML5AudioSoundManager.js
(Line
416
)
Possible examples