lovr.audio.getVolume

Returns the master volume. All Source objects have their volume multiplied by this factor.

volume = lovr.audio.getVolume()

Arguments

None

Returns

NameTypeDescription
volumenumberThe master volume.

Notes

The default is 1.0.

See also