Generators extension

on

Static Methods

cosine(Float32List g, TerrainOptions options) → void

Available on Terrain, provided by the Generators extension

Generate random terrain using the Cosine waves.
cosineLayers(Float32List g, TerrainOptions options) → void

Available on Terrain, provided by the Generators extension

Generate random terrain using layers of Cosine waves.
curve(Float32List g, TerrainOptions options, double curve(double, double)) → void

Available on Terrain, provided by the Generators extension

Generate random terrain using a curve.
deposit(Float32List g, int i, int j, int xl, double displacement) → void

Available on Terrain, provided by the Generators extension

Deposit a particle at a vertex.
diamondSquare(Float32List g, TerrainOptions options) → void

Available on Terrain, provided by the Generators extension

Generate random terrain using the Diamond-Square method.
fault(Float32List g, TerrainOptions options) → void

Available on Terrain, provided by the Generators extension

Generate random terrain using the Fault method.
hill(Float32List g, TerrainOptions options, [InfluenceType feature = InfluenceType.hill, Function? shape]) → void

Available on Terrain, provided by the Generators extension

Generate random terrain using the Hill method.
hillIsland(Float32List g, TerrainOptions options, [InfluenceType feature = InfluenceType.hill]) → void

Available on Terrain, provided by the Generators extension

Generate random terrain using the Hill method, centered on the terrain.
multiPass(Float32List g, TerrainOptions options, List<Passes> passes) → void

Available on Terrain, provided by the Generators extension

A utility for generating heightmap functions by additive composition.
particles(Float32List g, TerrainOptions options) → void

Available on Terrain, provided by the Generators extension

Generate random terrain using the Particle Deposition method.
perlin(Float32List g, TerrainOptions options) → void

Available on Terrain, provided by the Generators extension

Generate random terrain using the Perlin Noise method.
perlinDiamond(Float32List g, TerrainOptions options) → void

Available on Terrain, provided by the Generators extension

Generate random terrain using the Perlin and Diamond-Square methods composed.
perlinLayers(dynamic g, dynamic options) → void

Available on Terrain, provided by the Generators extension

Generate random terrain using layers of Perlin noise.
simplex(Float32List g, TerrainOptions options) → void

Available on Terrain, provided by the Generators extension

Generate random terrain using the Simplex Noise method.
simplexLayers(Float32List g, TerrainOptions options) → dynamic

Available on Terrain, provided by the Generators extension

Generate random terrain using layers of Simplex noise.
value(Float32List g, TerrainOptions options) → void

Available on Terrain, provided by the Generators extension

Generate random terrain using value noise.
weierstrass(Float32List g, TerrainOptions options) → void

Available on Terrain, provided by the Generators extension

Generate random terrain using Weierstrass functions.
whiteNoise(Float32List g, TerrainOptions options, double scale, int segments, double range, Float64List data) → void

Available on Terrain, provided by the Generators extension

Generate a heightmap using white noise.