#include <nw/snd/snd_SoundActor.h>
void SetPan(
f32 pan
);
| Name | Description | |
|---|---|---|
| in | pan | Relative change in the pan with 0.0 as the base value. |
Changes the pan (left/right orientation) of the actor.
The actor pan affects all sounds that the actor is playing.
The value specified by this function operates independently of other pan parameters, which are all layered.
pan specifies a value representing the relative change in the location of the sound. If 0.0 is specified, the pan value set within data is unchanged. When 1.0 is specified, a sound located at the center will be located at the far right, and when -1.0 is specified, a sound that located at the center will be located at the far left. The default value is 0.0.
CONFIDENTIAL