RemoveCrossFade - ImageSpaceModifier

From Creation Kit
Jump to: navigation, search

Member of: 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

; Remove the last modifier from the chain, fading it out over one second
ImageSpaceModifier.RemoveCrossFade()


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

See Also