#include <nw/snd/snd_SequenceSoundHandle.h>
void FadeIn(
int frames
);
| Name | Description | |
|---|---|---|
| in | frames | Number of elapsed frames during a fade-in. |
Fades in the sound when playback starts.
If fade-ins are specified with this function, they are configured to occur when SoundArchivePlayer::Update is called for the first time after SoundArchivePlayer::StartSound or StartPrepared is used to start playback.
This function has no effect if it was called after playback of the sound started and the first call to SoundArchivePlayer::Update.
The volume control used for fade-in is also used for fade-out when playback stops.
CONFIDENTIAL