Class FastGradientWarpDensity
Domain warp driven by a self-contained FastNoiseLite (OpenSimplex2, progressive fractal): displaces the sample position before evaluating the input. FNL is used directly (no NoiseField wrapper) since it is the warp engine, not a graph noise source. The FNL instance is read-only at runtime, so concurrent evaluation is safe; only a per-call child context is allocated.
public sealed class FastGradientWarpDensity : Density
- Inheritance
-
FastGradientWarpDensity
- Inherited Members
Constructors
FastGradientWarpDensity(Density?, float, float, int, float, float, int)
public FastGradientWarpDensity(Density? input, float warpLacunarity, float warpPersistence, int warpOctaves, float warpScale, float warpFactor, int seed)
Parameters
inputDensitywarpLacunarityfloatwarpPersistencefloatwarpOctavesintwarpScalefloatwarpFactorfloatseedint
Methods
Process(Context)
public override double Process(Density.Context context)
Parameters
Returns
SetInputs(Density[])
Wire this node's inputs (no-op for leaf nodes).
public override void SetInputs(Density[] inputs)
Parameters
inputsDensity[]