Class FastNoiseLiteField
The single NoiseField adapter over FastNoiseLite — lets any FNL config (cellular, OpenSimplex2, perlin, value, fractal) feed the graph's noise density nodes, with an optional separate domain-warp instance. One configurable adapter rather than a per-noise-type class; the FNL instances are read-only after setup, so a field is safe to share across generation threads.
public sealed class FastNoiseLiteField : NoiseField
- Inheritance
-
FastNoiseLiteField
- Inherited Members
Constructors
FastNoiseLiteField(FastNoiseLite, FastNoiseLite?)
The single NoiseField adapter over FastNoiseLite — lets any FNL config (cellular, OpenSimplex2, perlin, value, fractal) feed the graph's noise density nodes, with an optional separate domain-warp instance. One configurable adapter rather than a per-noise-type class; the FNL instances are read-only after setup, so a field is safe to share across generation threads.
public FastNoiseLiteField(FastNoiseLite noise, FastNoiseLite? warp = null)
Parameters
noiseFastNoiseLitewarpFastNoiseLite
Methods
Cellular(int, int, CellularReturnType, double, double?, double?)
Cellular (Voronoi) noise field, optionally domain-warped (a separate warp instance gives it its own frequency, mirroring the upstream CellNoiseField). FBm fractal, Euclidean distance.
public static FastNoiseLiteField Cellular(int seed, int octaves, FastNoiseLite.CellularReturnType returnType, double jitter, double? warpAmount = null, double? warpScale = null)
Parameters
seedintoctavesintreturnTypeFastNoiseLite.CellularReturnTypejitterdoublewarpAmountdouble?warpScaledouble?
Returns
ValueAt(double)
public override double ValueAt(double x)
Parameters
xdouble
Returns
ValueAt(double, double)
2D sample over the horizontal plane (x, z).
public override double ValueAt(double x, double z)
Parameters
Returns
ValueAt(double, double, double)
public override double ValueAt(double x, double y, double z)
Parameters
Returns
ValueAt(double, double, double, double)
public override double ValueAt(double x, double y, double z, double w)