private Task<RiverGeneration> calculateTask | The cached river generation task, started by GetGenerationAsync. |
private float curveMaxWidth | Cap on the part of a river's radius that gets the depth curve and width scaling. Defaults to 3. |
private float curveTangentMultiplier | Tangent strength for the spline that curves split segments. Defaults to 2. |
private float decorationMultiplier | Passed to the edge segment evaluation for river decorations. |
private AnimationCurve depthCurve | Curve from distance across the river (0 at the centre) to depth, scaled by the river's radius. |
private float distanceNoise | Random extra width added per terrain point, as a fraction of the radius, to roughen the banks. |
private List<IRiverDecorationSegment> edgeSegments | Backing field for EdgeSegments, filled by Calculate. |
private ForestGenerator forest | Backing field for Forest. |
private RiverIntersections intersections | Backing field for Intersections, built on first use. |
private static Logger logger | NLog logger for this class. |
private AnimationCurve lowerStrengthCurve | How strongly terrain above the river is carved down to it, by distance across. |
private float maxVolume | Largest river volume, passed to the river generation. |
private float nodeWidthMultiplier | Width multiplier passed to the river generation. |
private float overgroundVolumeThreshold | Volume a river needs to run overground, passed to the river generation. Defaults to 2.5. |
private AnimationCurve raiseStrengthCurve | How strongly terrain below the river is raised to it, by distance across. |
private float[,] riverDepths | Per terrain point river depth from Modify, used to paint the riverbed. |
private int riverSegmentMinimum | Rivers with fewer overground segments than this upstream are marked too small. Defaults to 3. |
private float[,] riverValues | Per terrain point river strength (0 to 1) from Modify, used for splat painting. |
private List<IRiverDecorationSegment> segments | Backing field for Segments, filled by Calculate. |
private int splitDistance | Length each river path is split into, in metres; 0 or less means no split. |
private float splitPositionJitter | Random offset radius for each split point. Defaults to 0.5. |
private float[] staticWaterfallVolumeMultiplier | Volume multipliers for the nodes after a waterfall's bottom. |
private AnimationCurve volumePerNode | Curve from a space's biome wetness to the water volume it adds. |
private float waterfallAlignmentThreshold | A threshold set in the inspector. Not read in the part of the class shown in the server build. |
private float waterfallCliffStrength | Extra weight a waterfall top's height gets when blending terrain heights. Defaults to 5. |
private float waterfallSlope | Slope (height over length) above which a river segment becomes a waterfall. Defaults to 1. |
private float waterfallVolumeMultiplier | Volume multiplier for the node a waterfall drops into. Defaults to 1.2. |
private BiomeAttribute wetnessAttribute | Biome attribute read as wetness for each space's water volume. |
private float widthMultiplier | Scales river width when carving terrain. Defaults to 1. |