Table of Contents

Method SnapToTiles

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

SnapToTiles()

Re-fit the biome to the tiles under its Vista Manager, resolved from the hierarchy.

[ContextMenu("Snap To Tiles")]
public void SnapToTiles()

SnapToTiles(VistaManager)

Set the biome's anchor polygon to the combined XZ bounds of every tile under manager. Does nothing when there is no manager, no biome, or no tiles, so the biome keeps its authored polygon.

public void SnapToTiles(VistaManager manager)

Parameters

manager VistaManager