setSoundSourcePosition

Script::setSoundSourcePosition

Sets the position of a sound source.

Declaration

void setSoundSourcePosition(SoundSourceID soundSourceID, const Math::vec3& newPosition);

Parameters

Name

Type

Description

soundSourceID

SoundSourceID

The sound source to change the position of.

newPosition

Math::vec3

The new position of the sound source.

Returns

None.