lovr.audio.setVolume

Sets the master volume. The volume of all Sources will be multiplied by this factor.

volume = lovr.audio.setVolume()

Arguments

None

Returns

NameTypeDescription
volumenumberThe master volume.

Notes

The default is 1.0.

See also