effect.monkey

Table of contents:

Classes:
Functions:
Function CopyEffect:tlEffect(e:tlEffect, ParticleManager:tlParticleManager, CopyDirectory:Int = False)
Description:Copy an effect
Returns:tlEffect
Details: You should use this command everytime you want to add an effect to the particle, otherwise you'll simply be referencing the effect directly from the library which simply won't work
if you add more then one of the same effect.

Pass the effect you wish to copy, the particle manager you want it assigned to and if you wish you can copy the directory which allows you to access individual emitters within the effect, in most
cases though this will be unnecessary.
Class tlEffect Extends tlFXObject
Description:The effect class which is the main parent class for emitters
Details: Effect types are the main containers for emitters and has a set of global attributes that can effect any emitters it stores.
The basic entity structure of an effect is: Effect -> Emitter(s) -> Particle(s)
Table of contents:Methods:
Method SetAmount:Void(amount:Float)
Description:Set the Global attribute Amount of the effect
Returns:Void
Details: This overides the graph the effect uses to set the Global Attribute Amount
Method SetAreaSize:Void(Width:Float, Height:Float)
Description:Set the area size of the effect
Returns:Void
Details: If the effect is Area or Elipse then you can use this to change the dimensions of it.
Method SetEffectAlpha:Void(Alpha:Float)
Description:Set the Global attribute Alpha of the effect
Returns:Void
Details: This overides the graph the effect uses to set the Global Attribute Alpha
Method SetEffectAngle:Void(Angle:Float)
Description:Set the Angle of the effect
Returns:Void
Details: This overides the whatever angle is set on the graph and sets the angle of the effect.
Method SetEffectEmissionRange:Void(EmissionRange:Float)
Description:Set the Global attribute EmissionRange of the effect
Returns:Void
Details: This overides the graph the effect uses to set the Global Attribute EmissionRange
Method SetEffectParticleSize:Void(Sizex:Float, Sizey:Float)
Description:Set the Global attribute Sizex of the effect
Returns:Void
Details: This overides the graph the effect uses to set the Global Attribute Sizex and sizey
Method SetEmissionAngle:Void(angle:Float)
Description:Set the Emission Angle of the effect
Returns:Void
Details: This overides whatever angle is set on the graph and sets the emission angle of the effect. This won't effect emitters that have <i>UseEffectEmission</i> set
to FALSE.
Method SetLife:Void(life:Float)
Description:Set the Global attribute Life of the effect
Returns:Void
Details: This overides the graph the effect uses to set the Global Attribute Life
Method SetLineLength:Void(Length:Float)
Description:Set the line length of the effect
Returns:Void
Details: For line effects, use this function to override the graph and set the length of the line to whatever you want.
Method SetSizeX:Void(Sizex:Float)
Description:Set the Global attribute Sizex of the effect
Returns:Void
Details: This overides the graph the effect uses to set the Global Attribute Sizex
Method SetSizeY:Void(Sizey:Float)
Description:Set the Global attribute Sizey of the effect
Returns:Void
Details: This overides the graph the effect uses to set the Global Attribute Sizey
Method SetSpin:Void(spin:Float)
Description:Set the Global attribute Spin of the effect
Returns:Void
Details: This overides the graph the effect uses to set the Global Attribute Spin
Method SetStretch:Void(v:Float)
Description:Set the Global attribute Stretch of the effect
Returns:Void
Details: This overides the graph the effect uses to set the Global Attribute Stretch
Method SetVelocity:Void(velocity:Float)
Description:Set the Global attribute velocity of the effect
Returns:Void
Details: This overides the graph the effect uses to set the Global Attribute velocity
Method SetWeight:Void(Weight:Float)
Description:Set the Global attribute Weight of the effect
Returns:Void
Details: This overides the graph the effect uses to set the Global Attribute Weight

This document was generated using the Jungle IDE document generator version 13.03.24-B