Table of Contents

Interface ITile

Namespace
Pinwheel.Vista
Assembly
Pinwheel.Vista.Runtime.dll

Defines the minimum runtime contract for a terrain tile that can participate in Vista generation.

public interface ITile
Extension Methods

Remarks

A tile exposes its world bounds and manager binding, receives manager-assigned runtime settings before generation, and participates in the apply lifecycle before and after the manager pushes data into backend-specific populators.

Properties

detailDensityMapResolution

Gets or sets the detail density map resolution assigned by the manager before applying data.

gameObject

Gets the GameObject that owns this tile component.

heightMapResolution

Gets or sets the heightmap resolution assigned by the manager before applying data.

managerId

Gets or sets the owning manager identifier used for tile-manager association.

maxHeight

Gets or sets the max terrain height assigned by the manager before applying data.

textureResolution

Gets or sets the texture resolution assigned by the manager before applying data.

worldBounds

Gets the world-space bounds of this tile.

Methods

GetDataAssets()

Gets the data asset objects this tile owns, for example the terrain data and any material the tile cloned for itself, in the order they should be created. Shared assets the tile only references are not included.

OnAfterApplyingData()

Called after generated data has been fully applied to this tile.

OnBeforeApplyingData()

Called before any generated data is applied to this tile.