ApplyCrossFade - ImageSpaceModifier
Member of: ImageSpaceModifier Script
Applies this image-space modifier to the cross-fade modifier chain, fading between the last one on the chain and this one over the specified duration.
SyntaxEdit
Function ApplyCrossFade(float afFadeDuration = 1.0) native
ParametersEdit
- afFadeDuration: How long the crossfade should take, in seconds.
- Default: 1.0
Return ValueEdit
None.
ExamplesEdit
; Cross-fade to the blood effect over 1 second
BloodSplatter.ApplyCrossFade()
; Cross-fade to the blood effect over half a second
BloodSplatter.ApplyCrossFade(0.5)