getSoundSourceGain

Script::getSoundSourceGain

Returns the gain of a sound source.

Declaration

float getSoundSourceGain(SoundSourceID soundSourceID);

Parameters

Name

Type

Description

soundSourceID

SoundSourceID

The sound source to get the gain of.

Returns

The gain of the sound source.