Table of Contents

Interface ITerrainSystem

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

Defines the integration contract between Vista and a terrain backend.

public interface ITerrainSystem

Remarks

Terrain-system implementations identify the backend's terrain and tile component types and ensure that target terrain objects are equipped with a compatible ITile adapter for Vista generation.

Properties

supportedData

Gets the biome output channels this backend can actually consume.

terrainLabel

Gets the display label used for this terrain system in setup and selection workflows.

Methods

CreateTerrainGrid(TerrainGridCreationContext)

Creates a grid of connected terrain objects for this backend, described by context.

GetTerrainComponentType()

Gets the component type that represents a terrain object in this backend.

GetTileComponentType()

Gets the component type that implements ITile for this backend.

SetupTile(VistaManager, GameObject)

Ensures a compatible tile component is configured on a target terrain object.