virtual void SetPan(float volume) = 0;
SetPan sets the current pan of the sound, ranging from -1.0 (full pan left) to 1.0 (full pan right). A value of 0 represents no panning (balanced center between right and left). Panning determines how the sound is played in the left and right channels.
Parameters |
Description |
float volume |
A value specifying the left-right balance for a sound (-1.0...0...1.0). |