setSoundSourcePosition

AudioModuleInterface::setSoundSourcePosition

Sets the position of a sound source.

Declaration

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

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.