CacheProvider class

Inheritance

Constructors

CacheProvider({required int width, required int height, required NoisePlane generator, CacheCoordinatePlane coordinatePlane = CacheCoordinatePlane.normal, bool lazy = false, double? initialValue})

Properties

cache ProvidingArrayCache<double>
latefinal
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

benchmark(String name, double ms) → void
inherited
cached({required int width, required int height, CacheCoordinatePlane coordinatePlane = CacheCoordinatePlane.mirrored, bool lazy = false, double? initialValue}) CacheProvider
inherited
cellularize(int seed) NoisePlane
inherited
cubic(double scale) CubicInterpolator
inherited
exponent(double exponent) NoisePlane
inherited
fit(double min, double max) NoisePlane
inherited
getMaxOutput() double
inherited
getMinOutput() double
inherited
hermite(double scale) HermiteInterpolator
inherited
linear(double scale) LinearInterpolator
inherited
noise1(double x) double
override
noise2(double x, double y) double
override
noise3(double x, double y, double z) double
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
octave(int octaves, double gain) NoisePlane
inherited
provideCacheIndex(int x, int y) double
inherited
scale(double scale) NoisePlane
inherited
starcast(double scale, double checks) StarcastInterpolator
inherited
starcast9(double scale) StarcastInterpolator
inherited
toString() String
A string representation of this object.
inherited
warp(NoisePlane warp, double scale, double multiplier) NoisePlane
inherited

Operators

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