bn::sound_master_volume_manager class

Manages the master volume of all sound effects.

Public static functions

static auto get() -> fixed
Returns the master volume of all sound effects.
static void set(fixed volume)
Sets the master volume of all sound effects.

Function documentation

static void bn::sound_master_volume_manager::set(fixed volume)

Sets the master volume of all sound effects.

Parameters
volume New volume in the range [0..1].