Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.Bass:getFadeMultiplier

C๐Ÿท๏ธ Bass

Part of StarfallEx namespace

๐Ÿ”— External
Bass:getFadeMultiplier()
View on GitHub|lua/starfall/libs_cl/bass.lua:288
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Gets the distance-based fade multiplier of the sound. Bass:getVolume() * Bass:getFadeMultiplier() is the effective volume of the sound. Always 1 for 2D sounds. Always 1 for 3D sounds that don't use simple fading. See Bass:setFade(). Only updates once per frame while the sound is playing.

Parameters

No parameters.

Returns

TypeDescription
numberVolume fade multiplier (1 is normal), between 0x and 10x.

Examples

No examples available.

Used In

No usages found in the codebase.