FlatProvider class

Inheritance

Constructors

FlatProvider({required int seed})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seed int
finalinherited

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
double2Long(double f) int
inherited
exponent(double exponent) NoisePlane
inherited
fit(double min, double max) NoisePlane
inherited
floor(double f) int
inherited
getMaxOutput() double
inherited
getMinOutput() double
inherited
getSeed() int
inherited
gradCoord1D(int seed, int x, double xd) double
inherited
gradCoord2D(int seed, int x, int y, double xd, double yd) double
inherited
gradCoord3D(int seed, int x, int y, int z, double xd, double yd, double zd) double
inherited
hash2D(int seed, int x, int y) int
inherited
hash3D(int seed, int x, int y, int z) int
inherited
hash4D(int seed, int x, int y, int z, int w) int
inherited
hermite(double scale) HermiteInterpolator
inherited
interpHermiteFunc(double t) double
inherited
isFlat() bool
override
isScalable() bool
override
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
round(double f) int
inherited
scale(double scale) NoisePlane
inherited
starcast(double scale, double checks) StarcastInterpolator
inherited
starcast9(double scale) StarcastInterpolator
inherited
step(double a, double b) double
inherited
toString() String
A string representation of this object.
inherited
valCoord1D(int seed, int x) double
inherited
valCoord2D(int seed, int x, int y) double
inherited
valCoord3D(int seed, int x, int y, int z) double
inherited
warp(NoisePlane warp, double scale, double multiplier) NoisePlane
inherited

Operators

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