Class Landscape
public static class Landscape
- Inheritance
-
Landscape
- Inherited Members
Methods
DiamondSquare(float[,], float, float, Func<float>)
public static void DiamondSquare(float[,] landscape, float maxInitHeight, float roughness, Func<float> randFloat)
Parameters
FaultModifier(float[,], float, Func<float>, float)
public static void FaultModifier(float[,] landscape, float depth, Func<float> randFloat, float decreaseDistance = 0)
Parameters
Sandpile(float[,], float, float, float, float, bool, bool, Func<int, int>, Func<double>, (int x, int y)[])
public static void Sandpile(float[,] landscape, float threshold, float increment, float decrement, float grainDropDensity, bool staticDrop, bool stochastic, Func<int, int> randInt, Func<double> randDouble, (int x, int y)[] neighs = null)
Parameters
landscape
float[,]threshold
floatincrement
floatdecrement
floatgrainDropDensity
floatstaticDrop
boolstochastic
boolrandInt
Func<int, int>randDouble
Func<double>neighs
(int x, int y)[]
ThermalErosion(float[,], float)
public static void ThermalErosion(float[,] landscape, float impact)