TerrainLayerRegion

Description

sealed class Tinman.Engine.Components.TerrainLayerRegion

Derived from

Disposable abstract

Settings for TerrainLayer objects of type TerrainLayerType.Region.

Public / Attributes

Color


public attribute Color → (get,set)

value : int64

The color (see Colors).

The color to use for highlighting existing data regions.

Defaults to 0.

Dataset


[OwnerValue]
public attribute Dataset → (get,set)

value : IHeightmap

The dataset or null.

The dataset for which to highlight existing data regions.

Defaults to null.

Granularity


public attribute Granularity → (get,set)

value : Vec2I

The granularity coefficients:
Vec2I.X : see IMeshBoundMinSize.MinSize
Vec2I.Y : see Regions.BlockSize
The given values will be clamped and rounded to reasonable values. The default setting is (64,512).

Specifies the granularity of the region blocks.