Packagecom.roguedevelopment.pulse.initializers
Classpublic class ParameterRandomizerInitializer
ImplementsIPulseInitializer
SubclassesAngleRandomizerInitializer

This class allows you to specify a minimum and maximum value that a particular property on a particle should be initialized to. Use it in combination with the GenericEmitter



Protected Properties
 PropertyDefined by
  maxValue : Number
ParameterRandomizerInitializer
  minValue : Number
ParameterRandomizerInitializer
  propName : String
ParameterRandomizerInitializer
  round : Boolean
ParameterRandomizerInitializer
Public Methods
 MethodDefined by
  
ParameterRandomizerInitializer(propName:String, minValue:Number, maxValue:Number, round:Boolean = false)
ParameterRandomizerInitializer
  
init(particle:IParticle):void
ParameterRandomizerInitializer
Property detail
maxValueproperty
protected var maxValue:Number
minValueproperty 
protected var minValue:Number
propNameproperty 
protected var propName:String
roundproperty 
protected var round:Boolean
Constructor detail
ParameterRandomizerInitializer()constructor
public function ParameterRandomizerInitializer(propName:String, minValue:Number, maxValue:Number, round:Boolean = false)Parameters
propName:String
 
minValue:Number
 
maxValue:Number
 
round:Boolean (default = false)
Method detail
init()method
public function init(particle:IParticle):voidParameters
particle:IParticle