Class TerrainSample
- Namespace
- Valheim.Testing
- Assembly
- Valheim.Testing.dll
public sealed class TerrainSample
- Inheritance
-
object
TerrainSample
Constructors
TerrainSample(float, float, float, TerrainBiome, float?, float?)
public TerrainSample(float x, float z, float height, TerrainBiome biome, float? riverWeight = null, float? riverWidth = null)
Parameters
x float
z float
height float
biome TerrainBiome
riverWeight float?
riverWidth float?
Properties
Biome
public TerrainBiome Biome { get; }
Property Value
- TerrainBiome
HasRiverSample
public bool HasRiverSample { get; }
Property Value
- bool
Height
public float Height { get; }
Property Value
- float
RiverWeight
public float RiverWeight { get; }
Property Value
- float
RiverWidth
public float RiverWidth { get; }
Property Value
- float
X
Property Value
- float
Z
Property Value
- float