Packagecv.orion
Classpublic class ParticleVO

ParticleVO is a value object class. It contains properties used by each particle. Having a specific class with the explicit properties helps the player manage memory usage.



Public Properties
 PropertyDefined by
  active : Boolean
Whether the particle is active or not.
ParticleVO
  angularVelocity : Number
The angular (rotational) velocity of the particle
ParticleVO
  currentFrame : int
The current frame of the particle.
ParticleVO
  mass : Number
The mass of the particle
ParticleVO
  paused : Boolean
If the particle is still active but just paused.
ParticleVO
  target : DisplayObject
The actual item on the display list being animated
ParticleVO
  timeStamp : int
The time stamp on the particle, used to determine the lifespan of each particle running.
ParticleVO
  velocity : Point
The velocity of the particle
ParticleVO
Property detail
activeproperty
public var active:Boolean

Whether the particle is active or not.

angularVelocityproperty 
public var angularVelocity:Number

The angular (rotational) velocity of the particle

currentFrameproperty 
public var currentFrame:int

The current frame of the particle. This is saved becuase the particle only has an image of one frame.

massproperty 
public var mass:Number

The mass of the particle

pausedproperty 
public var paused:Boolean

If the particle is still active but just paused. Used with StopEdgeFilter

targetproperty 
public var target:DisplayObject

The actual item on the display list being animated

timeStampproperty 
public var timeStamp:int

The time stamp on the particle, used to determine the lifespan of each particle running.

velocityproperty 
public var velocity:Point

The velocity of the particle