setMasterGain
Script::setMasterGain
Sets the master gain.
Declaration
void setMasterGain(float newGain);
Parameters
Name |
Type |
Description |
---|---|---|
newGain |
float |
The new master gain. |
Returns
None.
Notes
The master gain is the overall volume of all sounds.