setSoundSourcePitch

Script::setSoundSourcePitch

Sets the pitch of a sound source.

Declaration

void setSoundSourcePitch(SoundSourceID soundSourceID, float newPitch);

Parameters

Name

Type

Description

soundSourceID

SoundSourceID

The sound source to change the pitch of.

newPitch

float

The new pitch of the sound source.

Returns

None.