Table of Contents

Method CalculateWorldBounds

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

CalculateWorldBounds()

Calculates the biome's world-space bounding box from its authored polygon.

protected Bounds CalculateWorldBounds()

Returns

Bounds

The axis-aligned world-space bounds enclosing the effective biome polygon.

Remarks

When falloffDirection is Pinwheel.Vista.FalloffDirection.Outer, the expanded falloff polygon is used; otherwise the raw anchor polygon defines the bounds. The method includes transformed Y values from the authored vertices, even though overlap tests are performed in XZ space only.