UniformCurveFloat class Particles

A FloatDistribution whose value follows, per particle, a blend between a min and max curve chosen by the particle's stored random. Each particle keeps its own curve inside the envelope for the whole life.

Inheritance

Constructors

UniformCurveFloat(ParticleCurve min, ParticleCurve max)
Creates a distribution that blends between min and max curves by the per-particle random.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
max → ParticleCurve
The lower and upper curves of the envelope.
final
min → ParticleCurve
The lower and upper curves of the envelope.
final
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
sample(double normalizedAge, double random01) → double
Returns the value for a particle at normalizedAge with per-particle random random01.
override
toString() → String
A string representation of this object.
inherited

Operators

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