AudioControllerFadeOutCategory Method
|
Starts a fade-out of an audio category.
Namespace:
(Default Namespace)
Assembly:
AudioToolkit (in AudioToolkit.dll) Version: 8.2.0.0 (8.2.0.0)
Syntax public static void FadeOutCategory(
string name,
float fadeOutLength,
float startToFadeTime = 0f
)
Parameters
- name
- Type: SystemString
The category name. - fadeOutLength
- Type: SystemSingle
The fade time in seconds. If a negative value is specified, the fade out as specified in the corresponding FadeOut is used - startToFadeTime (Optional)
- Type: SystemSingle
Fade out starts after startToFadeTime seconds have passed
Remarks
If the category is already fading out the requested fade-out is combined with the existing one.
See Also