ParticleGroupDef class
A particle group definition holds all the data needed to construct a particle group. You can safely re-use these definitions.
Constructors
Properties
- angle ↔ double
-
The world angle of the group in radians. Rotates the shape by an angle
equal to the value of angle.
getter/setter pair
- angularVelocity ↔ double
-
The angular velocity of the group.
getter/setter pair
- color ↔ Color3i
-
The color of all particles in the group.
getter/setter pair
- destroyAutomatically ↔ bool
-
If true, destroy the group automatically after its last particle has been
destroyed.
getter/setter pair
- flags ↔ int
-
The particle-behavior flags.
getter/setter pair
- groupFlags ↔ int
-
The group-construction flags.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- linearVelocity → Vector2
-
The linear velocity of the group's origin in world co-ordinates.
final
- position → Vector2
-
The world position of the group. Moves the group's shape a distance equal
to the value of position.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape ↔ Shape?
-
Shape containing the particle group.
getter/setter pair
- strength ↔ double
-
The strength of cohesion among the particles in a group with flag
elasticParticle or springParticle.
getter/setter pair
- userData ↔ Object?
-
Use this to store application-specific group data.
getter/setter pair
Methods
-
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