Class SamplingModifiers
- Namespace
- WorldgenLib
- Assembly
- WorldgenLib.VintageStory.dll
Optional modifiers for terrain sampling. Apply transformations to the noise pipeline at arbitrary positions.
public sealed class SamplingModifiers
- Inheritance
-
SamplingModifiers
- Inherited Members
Properties
DistYDelta
Apply distY delta (for coastal erosion, tectonics).
public float DistYDelta { get; set; }
Property Value
LandformWeightTransform
Modify the interpolated landform weights before terrain octaves are built. The array is local to this sample and may be edited in place.
public Action<float[]>? LandformWeightTransform { get; set; }
Property Value
ThresholdTransform
Apply threshold delta at a specific Y. Return modified threshold.
public Func<int, double, double>? ThresholdTransform { get; set; }