RemoveCrossFade - ImageSpaceModifier

Member of: ImageSpaceModifier Script

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

SyntaxEdit

Function RemoveCrossFade(float afFadeDuration = 1.0) native global

ParametersEdit

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

Return ValueEdit

None.

ExamplesEdit

; 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 AlsoEdit