setSoundSourceGain

Script::setSoundSourceGain

Sets the gain of a sound source.

Declaration

void setSoundSourceGain(SoundSourceID soundSourceID, float newGain);

Parameters

Name

Type

Description

soundSourceID

SoundSourceID

The sound source to change the gain of.

newGain

float

The new gain of the sound source.

Returns

None.