AccelerationTracker class

Tracks the acceleration state of particles

Constructors

AccelerationTracker()

Properties

acceleratedParticleCount int
getter/setter pair
hadAcceleratedParticles bool
Check if there were any accelerated particles
no setter
hashCode int
The hash code for this object.
no setterinherited
lastFrameAcceleratedCount int
Get the number of accelerated particles from last frame
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recordAcceleration() → void
Record that a particle was accelerated
resetFrame() → void
Reset count for new frame
toString() String
A string representation of this object.
inherited

Operators

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