ParticleWind class final

Pushes everything one way, for a draught or the wake of an explosion.

Inheritance

Constructors

ParticleWind(Vector3 acceleration)
A push of acceleration, in metres per second squared, copied so a later change to the vector passed in does not reach it.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

apply(ParticleStep step) → void
Advances ParticleStep.particle by ParticleStep.dt. Called once per particle per step, after its age has been updated and before it is moved.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited