ImageSpaceModifier Script: Difference between revisions

From the CreationKit Wiki
Jump to navigation Jump to search
imported>CraftySentinel
(Reverted to List)
m (Convert source tags to syntaxhighlight)
 
Line 4: Line 4:


== Definition ==
== Definition ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
ScriptName ImageSpaceModifier extends Form
ScriptName ImageSpaceModifier extends Form
</source>
</syntaxhighlight>


== Properties ==
== Properties ==

Latest revision as of 21:05, 5 September 2026

Extends: Form Script

Script for the manipulation of image-space modifiers.

Definition[edit | edit source]

ScriptName ImageSpaceModifier extends Form

Properties[edit | edit source]

None

Global Functions[edit | edit source]

RemoveCrossFade(Float afFadeDuration)
  • Removes the last modifier on the cross-fade chain, fading it out.


Member Functions[edit | edit source]

Apply(Float afStrength)
  • Applies this image-space modifier to the screen at the specified strength.
ApplyCrossFade(Float afFadeDuration)
  • Applies this modifier to the cross-fade chain, fading between the last modifier on the chain and this one.
PopTo(ImageSpaceModifier akNewModifier, Float afStrength)
  • Disables this modifier and immediately enables the other one - "popping" to it.
Remove()
  • Removes this image-space modifier from the screen.


Events[edit | edit source]

None