Particle class
Properties
accumulation
↔ double
getter/setter pair
accumulationVector
→ Vector2
final
color
↔ Color3i
The color of the particle.
getter/setter pair
depth
↔ double
getter/setter pair
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.elasticParticle | ParticleType.viscousParticle.
getter/setter pair
group
↔ ParticleGroup
The group which the particle belongs to
getter/setter pair
hashCode
→ int
The hash code for this object.
no setter inherited
position
→ Vector2
The world position of the particle.
final
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
system
→ ParticleSystem
The ParticleSystem which the particle belongs to
final
userData
↔ Object ?
Use this to store application-specific body data.
getter/setter pair
velocity
→ Vector2
The linear velocity of the particle in world co-ordinates.
final