setSoundSourceTime

Script::setSoundSourceTime

Sets the current time of a sound source.

Declaration

void setSoundSourceTime(SoundSourceID soundSourceID, float newTime);

Parameters

Name

Type

Description

soundSourceID

SoundSourceID

The sound source to change the gain of.

newTime

float

The new current time of the sound source, in seconds.

Returns

None.