Table of Contents

Method IsOverlap

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

IsOverlap(ITile, IBiome[])

Tests whether a tile overlaps at least one biome in a supplied set.

public static bool IsOverlap(this ITile tile, IBiome[] biomes)

Parameters

tile ITile

The tile whose worldBounds should be tested.

biomes IBiome[]

The biome collection to test against the tile bounds.

Returns

bool

true when any biome reports overlap with the tile bounds; otherwise, false.

Remarks

The method delegates the geometric test to IsOverlap(Bounds) for each biome and stops on the first positive result.