Skip to main content

SerializedGeneratedBiome

A class in Root.Township, Alta.Caves.

Saved description of a blended biome: two biomes, how far between them and a seed. Used by chunk environments and biome presets.

Constructors​

MemberWhat it is
SerializedGeneratedBiome()Creates a SerializedGeneratedBiome with default values.

Fields​

4 private and internal fields
MemberWhat it is
private Biome fromBiome at transition 0.
private int seedSeed for generating the blend.
private Biome toBiome at transition 1.
private float transitionBlend from from (0) to to (1).

Methods​

MemberWhat it is
GeneratedBiome GetGenerated()Builds the biome by weighting from and to by the transition and generating with the seed.

Used in​

Members of other types that take, return or hold a SerializedGeneratedBiome: