Mod:Creation Kit/RemoveCrossFade - ImageSpaceModifier

Member of: Mod:Creation Kit/ImageSpaceModifier Script

Removes the last image-space modifier from the crossfade chain, fading it out over the specified number of seconds.

Syntax
Function RemoveCrossFade(float afFadeDuration = 1.0) native global

Parameters

 * afFadeDuration: How long the fade out should take, in seconds.
 * Default: 1.0

Return Value
None.

Examples
ImageSpaceModifier.RemoveCrossFade ImageSpaceModifier.RemoveCrossFade(0.5)
 * Remove the last modifier from the chain, fading it out over one second
 * Remove the last modifier from the chain, fading it out over half a second