Table of Contents

Interface IBiome

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

Defines the runtime contract for a biome that can contribute data to Vista tiles.

public interface IBiome
Extension Methods

Remarks

A biome supplies data on demand for world-space tile bounds, reports overlap for culling, and participates in the manager lifecycle before and after a generation pass.

Properties

blendOptions

Gets the blend settings used when this biome is combined with overlapping biomes.

gameObject

Gets the GameObject that owns this biome component.

order

Gets or sets the biome sort order used when multiple biomes overlap the same tile.

updateCounter

Gets or sets the biome change counter used for regeneration tracking.

Methods

IsOverlap(Bounds)

Tests whether this biome overlaps the specified world-space area.

OnAfterVMGenerate()

Called by VistaManager after a generation pass completes.

OnBeforeVMGenerate()

Called by VistaManager before a generation pass starts.

RequestData(Bounds, int, int)

Requests biome output data for the specified world bounds and resolutions.