RemoveCrossFade - ImageSpaceModifier
Jump to navigation
Jump to 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[edit | edit source]
Function RemoveCrossFade(float afFadeDuration = 1.0) native global
Parameters[edit | edit source]
- afFadeDuration: How long the fade out should take, in seconds.
- Default: 1.0
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; 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)