Packageorg.flintparticles.threeD.away3d.initializers
Classpublic class A3DObjectClass
InheritanceA3DObjectClass Inheritance InitializerBase

The A3DObjectClass initializer sets the 3D Object to use to draw the particle in a 3D scene. It is used with the Away3D renderer when particles should be represented by a 3D object.



Public Properties
 PropertyDefined by
  imageClass : Class
The class to use when creating the particles' DisplayObjects.
A3DObjectClass
  parameters : Object
The parameters to pass to the constructor for the image class.
A3DObjectClass
Public Methods
 MethodDefined by
  
A3DObjectClass(imageClass:Class, parameters:Object)
The constructor creates an A3DObjectClass initializer for use by an emitter.
A3DObjectClass
 Inherited
addedToEmitter(emitter:Emitter):void
This method does nothing.
InitializerBase
 Inherited
Returns a default priority of 0 for this action.
InitializerBase
  
initialize(emitter:Emitter, particle:Particle):void
This method does nothing.
A3DObjectClass
 Inherited
This method does nothing.
InitializerBase
Property detail
imageClassproperty
imageClass:Class  [read-write]

The class to use when creating the particles' DisplayObjects.

Implementation
    public function get imageClass():Class
    public function set imageClass(value:Class):void
parametersproperty 
parameters:Object  [read-write]

The parameters to pass to the constructor for the image class.

Implementation
    public function get parameters():Object
    public function set parameters(value:Object):void
Constructor detail
A3DObjectClass()constructor
public function A3DObjectClass(imageClass:Class, parameters:Object)

The constructor creates an A3DObjectClass initializer for use by an emitter. To add an ImageClass to all particles created by an emitter, use the emitter's addInitializer method.

Parameters
imageClass:Class — The class to use when creating the particles' image object.
 
parameters:Object — The parameters to pass to the constructor for the image class.

See also

Method detail
initialize()method
public override function initialize(emitter:Emitter, particle:Particle):void

This method does nothing. All derived classes override this method to initialize each particle created by the emitter.

Parameters
emitter:Emitter
 
particle:Particle