Apply - ShaderParticleGeometry

Member of: ShaderParticleGeometry Script

Applies this effect, with an optional fade-in time.

SyntaxEdit

Function Apply(float afFadeInTime = 0.0) native

ParametersEdit

  • afFadeInTime: The time to fade over, in seconds
    • Default: 0.0

Return ValueEdit

None.

ExamplesEdit

; Apply the fire effect instantly
FireEffect.Apply()


; Apply the freeze effect over 3 and a half seconds
FreezeEffect.Apply(3.5)

See AlsoEdit