RemoveCrossFade - ImageSpaceModifier
Revision as of 10:52, 5 April 2010 by imported>JLundin (Created page with 'Category:Scripting Category:Papyrus '''Member of:''' ImageSpaceModifier Script Removes the last image-space modifier from the crossfade chain, fading it out over the…')
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)