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