Apply - ImageSpaceModifier

Member of: ImageSpaceModifier Script

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

SyntaxEdit

Function Apply(float afStrength = 1.0) native

ParametersEdit

  • afStrength: How "strong" the effect will be. 0 is no effect, 1 is full effect, though the strength is not clamped to this range. Numbers outside this range may provide... interesting results.
    • Default: 1.0

Return ValueEdit

None.

ExamplesEdit

; Apply the blood effect at full strength
BloodSplatter.Apply()


; Apply the blood effect at half-strength
BloodSplatter.Apply(0.5)

See AlsoEdit