Table of Contents

Class TerrainDetailBake.Tile

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

One terrain: its heights (shared by both maps' height textures) and its grass and scatter.

[Serializable]
public sealed class TerrainDetailBake.Tile
Inheritance
TerrainDetailBake.Tile
Inherited Members

Fields

Data

The terrain data it was baked from (the key).

public TerrainData Data

Field Value

TerrainData

Grass

public TerrainDetailBake.Grass Grass

Field Value

TerrainDetailBake.Grass

HeightResolution

The heightmap's resolution, and its samples as 0..1 of the terrain's height in 16 bits, row z first.

public int HeightResolution

Field Value

int

Heights

public ushort[] Heights

Field Value

ushort[]

Index

The terrain's index map (empty when none was stored: an old bake, or a terrain not drawn by arrays).

public TerrainDetailBake.IndexMap Index

Field Value

TerrainDetailBake.IndexMap

Scatter

public TerrainDetailBake.Scatter Scatter

Field Value

TerrainDetailBake.Scatter

Stale

Set in the editor when the terrain's heights or textures were edited after the bake: the runtime builds it.

public bool Stale

Field Value

bool