Packagecv.orion.filters
Classpublic class WrapEdgeFilter
ImplementsIFilter

The WrapEdgeFilter makes a particle 'wrap', and appear at the opposite edge once it's hit the edge of the canvas.


Example
There are two ways to apply the edge filter. The first way it so set it via the config object. The second way is to add it to the edgeFilter property itself.
  import cv.Orion;
  import cv.orion.filters.WrapEdgeFilter;
  
  // First method
  var e:Orion = new Orion(linkageClass, null, {edgeFilter:new WrapEdgeFilter()});
  
  // Second method
  var e2:Orion = new Orion(linkageClass);
  e2.edgeFilter = new WrapEdgeFilter();
  



Public Methods
 MethodDefined by
  
applyFilter(particle:ParticleVO, target:Orion):void
Applies the specified filter to a particular particle.
WrapEdgeFilter
Method detail
applyFilter()method
public function applyFilter(particle:ParticleVO, target:Orion):void

Applies the specified filter to a particular particle.

Parameters
particle:ParticleVO — The individual particle.
 
target:Orion — The emitter associated with the particle.