AudioObject.FadeOut Method (Single)

Audio Toolkit

Collapse image Expand Image Copy image CopyHover image
Starts a fade-out. If the AudioItem mode is is a sequence, the next sub-item will continue to play after the this sub-item is completely faded out.

Namespace: (Default Namespace)
Assembly: AudioToolkit (in AudioToolkit.dll) Version: 8.0.0.0 (8.0.0.0)

Syntax

C#
public void FadeOut(
	float fadeOutLength
)

Parameters

fadeOutLength
Type: System..::..Single
The fade time in seconds. If a negative value is specified, the fade out as specified in the corresponding FadeOut is used

Remarks

If the audio is already fading out the requested fade-out is combined with the existing one. This function only fades-out the primary audio source.

See Also