Table of Contents

Class TerrainSiteReading

Namespace
Valheim.Testing.Game
Assembly
Valheim.Testing.Game.dll

One point's loaded layers, read through the same capabilities as the probes: the ground height (valheim.world/terrain, loaded-ground, as TerrainProbe), the terrain vertex's own collider height (valheim.world/terrain-surface, as SurfaceProbe) and the raw paint texel (valheim.world/terrain-paint, as PaintProbe: R dirt, G cultivated, B paved, A vegetation: 1 where it may grow, 0 where cleared).

public sealed record TerrainSiteReading
Inheritance
object
TerrainSiteReading

Constructors

TerrainSiteReading(TerrainSitePoint, float, float, float, float, float, float)

One point's loaded layers, read through the same capabilities as the probes: the ground height (valheim.world/terrain, loaded-ground, as TerrainProbe), the terrain vertex's own collider height (valheim.world/terrain-surface, as SurfaceProbe) and the raw paint texel (valheim.world/terrain-paint, as PaintProbe: R dirt, G cultivated, B paved, A vegetation: 1 where it may grow, 0 where cleared).

public TerrainSiteReading(TerrainSitePoint Point, float GroundHeight, float ColliderHeight, float R, float G, float B, float A)

Parameters

Point TerrainSitePoint
GroundHeight float
ColliderHeight float
R float
G float
B float
A float

Properties

A

public float A { get; init; }

Property Value

float

B

public float B { get; init; }

Property Value

float

ColliderHeight

public float ColliderHeight { get; init; }

Property Value

float

G

public float G { get; init; }

Property Value

float

GroundHeight

public float GroundHeight { get; init; }

Property Value

float

Point

public TerrainSitePoint Point { get; init; }

Property Value

TerrainSitePoint

R

public float R { get; init; }

Property Value

float