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

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
 Inheritedpriority : int
Returns a default priority of 0 for this action.
InitializerBase
Protected Properties
 PropertyDefined By
 Inherited_priority : int = 0
InitializerBase
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
  
initialize(emitter:Emitter, particle:Particle):void
[override] This method does nothing.
A3DObjectClass
 Inherited
This method does nothing.
InitializerBase
Property Detail
imageClassproperty
imageClass:Class

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

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
override public 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