| Package | org.flintparticles.threeD.actions |
| Class | public class Friction |
| Inheritance | Friction ActionBase Object |
See also
| Property | Defined By | ||
|---|---|---|---|
| friction : Number
The amount of friction. | Friction | ||
![]() | priority : int
Returns a default priority of 0 for this action. | ActionBase | |
| Method | Defined By | ||
|---|---|---|---|
Friction(friction:Number = 0)
The constructor creates a Friction action for use by
an emitter. | Friction | ||
![]() | addedToEmitter(emitter:Emitter):void
This method does nothing. | ActionBase | |
![]() | removedFromEmitter(emitter:Emitter):void
This method does nothing. | ActionBase | |
[override]
This method does nothing. | Friction | ||
| friction | property |
friction:NumberThe amount of friction. A higher number produces a stronger frictional force.
public function get friction():Number public function set friction(value:Number):void| Friction | () | Constructor |
public function Friction(friction:Number = 0)The constructor creates a Friction action for use by an emitter. To add a Friction to all particles created by an emitter, use the emitter's addAction method.
Parametersfriction:Number (default = 0) — The amount of friction. A higher number produces a stronger frictional force.
|
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.
|