Table of Contents

Method RequestData

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

RequestData(Bounds, int, int)

Requests biome data for a target tile by remapping this biome's cached outputs into the requested bounds.

public BiomeDataRequest RequestData(Bounds worldBounds, int heightMapResolution, int textureResolution)

Parameters

worldBounds Bounds

Tile bounds that should receive the biome contribution. Cached data is copied from the biome's own world bounds into this destination area.

heightMapResolution int

Target resolution for height-related outputs such as height, holes, and mesh density in the returned data.

textureResolution int

Target resolution for texture-like outputs such as splat weights, albedo maps, density maps, and biome mask.

Returns

BiomeDataRequest

A progressive request whose data payload is filled asynchronously. If terrainGraph is not assigned, the returned request completes immediately with an empty data object.

Remarks

The first request after cache invalidation triggers full graph execution in the biome's own bounds at baseResolution. Later requests reuse Pinwheel.Vista.LocalProceduralBiome.cachedData and only perform the bounds-aware copy/remap step. The cache bounds are rounded to whole-world-unit XZ extents before generation so repeated requests use a stable cache domain.