| Package | org.flintparticles.threeD.actions |
| Class | public class TweenPosition |
| Inheritance | TweenPosition ActionBase Object |
| Property | Defined By | ||
|---|---|---|---|
| end : Vector3D
The X value for the particle at the end of its life. | TweenPosition | ||
![]() | priority : int
Returns a default priority of 0 for this action. | ActionBase | |
| start : Vector3D
The x position for the particle at the start of its life. | TweenPosition | ||
| Method | Defined By | ||
|---|---|---|---|
TweenPosition(start:Vector3D = null, end:Vector3D = null)
The constructor creates a TweenPosition action for use by
an emitter. | TweenPosition | ||
![]() | addedToEmitter(emitter:Emitter):void
This method does nothing. | ActionBase | |
![]() | removedFromEmitter(emitter:Emitter):void
This method does nothing. | ActionBase | |
[override]
This method does nothing. | TweenPosition | ||
| end | property |
end:Vector3DThe X value for the particle at the end of its life.
public function get end():Vector3D public function set end(value:Vector3D):void| start | property |
start:Vector3DThe x position for the particle at the start of its life.
public function get start():Vector3D public function set start(value:Vector3D):void| TweenPosition | () | Constructor |
public function TweenPosition(start:Vector3D = null, end:Vector3D = null)The constructor creates a TweenPosition action for use by an emitter. To add a TweenPosition to all particles created by an emitter, use the emitter's addAction method.
Parametersstart:Vector3D (default = null) — The x value for the particle at the
start of its life.
| |
end:Vector3D (default = null) — The y value for the particle at the
start of its life.
|
See also
| update | () | method |
override public function update(emitter:Emitter, particle:Particle, time:Number):voidThis method does nothing. All derived classes override this method to update each particle every frame.
Parameters
emitter:Emitter — The Emitter that created the particle.
| |
particle:Particle — The particle to be updated.
| |
time:Number — The duration of the frame - used for time based updates.
|