Table of Contents

Method DeriveSupportedData

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

DeriveSupportedData(Type)

Derives the set of biome output channels a tile type can consume from the populator interfaces it implements.

public static BiomeDataMask DeriveSupportedData(Type tileComponentType)

Parameters

tileComponentType Type

The tile component type, usually from GetTileComponentType().

Returns

BiomeDataMask

The union of channels backed by an implemented populator interface. A null type returns every channel so an unknown backend never strips anything.

Remarks

The geometry populator covers height, hole, and mesh density together. A backend that consumes geometry but not mesh density, such as Unity Terrain, clears the mesh density bit in its own supportedData.