ParticleDef class

Constructors

ParticleDef()

Properties

color ParticleColor
The color of the particle.
read / write
flags int
Specifies the type of particle. A particle may be more than one type. Multiple types are chained by logical sums, for example: pd.flags = ParticleType.b2_elasticParticle | ParticleType.b2_viscousParticle.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
position Vector2
The world position of the particle.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
userData Object
Use this to store application-specific body data.
read / write
velocity Vector2
The linear velocity of the particle in world co-ordinates.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited