Logo FSBarV1_Archived

Terrain Type

Terrain classification based on height and slope data. Used to categorize map cells for AI decision-making.

Union cases

Union case Description

Cliff slope

Full Usage: Cliff slope

Parameters:
    slope : float32

Steep cliff with the given slope value (typically above 0.6).

slope : float32

Land hardness

Full Usage: Land hardness

Parameters:
    hardness : float32

Traversable land with the given slope value (0.0 = flat).

hardness : float32

Water depth

Full Usage: Water depth

Parameters:
    depth : float32

Water at the given depth (positive value representing depth below sea level).

depth : float32

Instance members

Instance member Description

this.IsCliff

Full Usage: this.IsCliff

Returns: bool
Returns: bool

this.IsLand

Full Usage: this.IsLand

Returns: bool
Returns: bool

this.IsWater

Full Usage: this.IsWater

Returns: bool
Returns: bool

Type something to start searching.