Table of Contents

Class TerrainDetailBake.Scatter

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

The GPU detail scatter's maps of one terrain (DetailScatterTerrain).

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

Fields

Baked

public bool Baked

Field Value

bool

BlockStarts

public ushort[] BlockStarts

Field Value

ushort[]

Blocks

Blocks per side, and detail cells per block side (what an entry's painted-cell mask means).

public int Blocks

Field Value

int

ChannelPrefabs

public GameObject[] ChannelPrefabs

Field Value

GameObject[]

Channels

Per channel, its placement: the prototypes' sizes, noise and ground alignment, and its seed.

public TerrainDetailBake.ScatterChannel[] Channels

Field Value

ScatterChannel[]

ClampedBlocks

public int ClampedBlocks

Field Value

int

ClampedChannel

public int ClampedChannel

Field Value

int

DensityScale

The detail density scale the counts were baked at: a player whose quality setting differs builds the terrain.

public float DensityScale

Field Value

float

Entries

public uint[] Entries

Field Value

uint[]

Factor

public int Factor

Field Value

int

Holes

The painted holes (R8 on the heights' grid, 0 a hole); empty when it has none.

public byte[] Holes

Field Value

byte[]

ItemEntryStart

The sparse density (DetailScatterDensity, 2026-10-27): per work item its first entry (and the total at the end), its 65 block starts relative to it, and every painted (block, channel) pair, one uint each (DetailScatterMath.PackEntry).

public int[] ItemEntryStart

Field Value

int[]

ItemMax

public float[] ItemMax

Field Value

float[]

ItemMin

Per item, its ground height range.

public float[] ItemMin

Field Value

float[]

LayerChannels

public int[] LayerChannels

Field Value

int[]

LayerPrototypes

public int[] LayerPrototypes

Field Value

int[]

Present

public bool Present

Field Value

bool