Difference between revisions of "ImageSpaceModifier Script"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jog
imported>Jog
Line 20: Line 20:


== Member Functions ==
== Member Functions ==
*Function [[Apply - ImageSpaceModifier|Apply]](float afStrength)
'''Function [[Apply - ImageSpaceModifier|Apply]](float afStrength)'''
**Applies this image-space modifier to the screen at the specified strength.
*Applies this image-space modifier to the screen at the specified strength.
*Function [[ApplyCrossFade - ImageSpaceModifier|ApplyCrossFade]](float afFadeDuration)
 
**Applies this modifier to the cross-fade chain, fading between the last modifier on the chain and this one.
'''Function [[ApplyCrossFade - ImageSpaceModifier|ApplyCrossFade]](float afFadeDuration)'''
*Function [[PopTo - ImageSpaceModifier|PopTo]](ImageSpaceModifier akNewModifier, float afStrength)
*Applies this modifier to the cross-fade chain, fading between the last modifier on the chain and this one.
**Disables this modifier and immediately enables the other one - "popping" to it.
 
*Function [[Remove - ImageSpaceModifier|Remove]]()
'''Function [[PopTo - ImageSpaceModifier|PopTo]](ImageSpaceModifier akNewModifier, float afStrength)'''
**Removes this image-space modifier from the screen.
*Disables this modifier and immediately enables the other one - "popping" to it.
 
'''Function [[Remove - ImageSpaceModifier|Remove]]()'''
*Removes this image-space modifier from the screen.


== Events ==
== Events ==
None
None

Revision as of 12:48, 20 February 2012


Extends: Form Script

Script for the manipulation of image-space modifiers.

Definition

ScriptName ImageSpaceModifier extends Form

Properties

None

Global Functions

Function RemoveCrossFade(float afFadeDuration)

  • Removes the last modifier on the cross-fade chain, fading it out.

Member Functions

Function Apply(float afStrength)

  • Applies this image-space modifier to the screen at the specified strength.

Function ApplyCrossFade(float afFadeDuration)

  • Applies this modifier to the cross-fade chain, fading between the last modifier on the chain and this one.

Function PopTo(ImageSpaceModifier akNewModifier, float afStrength)

  • Disables this modifier and immediately enables the other one - "popping" to it.

Function Remove()

  • Removes this image-space modifier from the screen.

Events

None