ConstantFloat class Particles
A FloatDistribution that is value for every particle.
- Inheritance
-
- Object
- FloatDistribution
- ConstantFloat
Constructors
- ConstantFloat(double value)
-
Creates a constant distribution.
const
Properties
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
normalizedAgewith per-particle randomrandom01.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited