Class GradientWarpDensity
Domain warp: displaces the sample position along the gradient of a warp field (finite-difference over a step, scaled by warpFactor) before evaluating the input. Allocates per-call child contexts.
public sealed class GradientWarpDensity : Density
- Inheritance
-
GradientWarpDensity
- Inherited Members
Constructors
GradientWarpDensity(Density?, Density?, double, double)
public GradientWarpDensity(Density? input, Density? warpInput, double slopeRange, double warpFactor)
Parameters
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[]