| Package | org.flintparticles.threeD.actions |
| Class | public class RotationalFriction |
| Inheritance | RotationalFriction ActionBase |
| Property | Defined by | ||
|---|---|---|---|
| friction : Number
The amount of friction.
| RotationalFriction | ||
![]() | priority : int
Returns a default priority of 0 for this action.
| ActionBase | |
| Method | Defined by | ||
|---|---|---|---|
|
RotationalFriction(friction:Number = 0)
The constructor creates a RotationalFriction action for use by
an emitter.
| RotationalFriction | ||
![]() |
addedToEmitter(emitter:Emitter):void
This method does nothing.
| ActionBase | |
![]() |
removedFromEmitter(emitter:Emitter):void
This method does nothing.
| ActionBase | |
|
This method does nothing.
| RotationalFriction | ||
| friction | property |
friction:Number [read-write]The amount of friction. A higher number produces a stronger frictional force.
Implementation public function get friction():Number
public function set friction(value:Number):void
| RotationalFriction | () | constructor |
public function RotationalFriction(friction:Number = 0)The constructor creates a RotationalFriction action for use by an emitter. To add a RotationalFriction 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 |
public override function update(emitter:Emitter, particle:Particle, time:Number):voidThis method does nothing. All derived classes override this method to update each particle every frame.
Parametersemitter: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.
|