Table of Contents

Class LocalAreaUtils

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

Provides shared operations for IPolygonalArea implementations without owning their serialized data.

public static class LocalAreaUtils
Inheritance
LocalAreaUtils
Inherited Members

Remarks

Implementers declare their own fields and properties. This helper remains stateless so adopting it never requires changing a component's base class or serialized field ownership.

Methods

AllocatePolygonalMaskRT(int)

Allocates a render texture suitable for a polygonal local-area mask.

CalculateFalloffAnchors(Vector3[], float, FalloffDirection)
CalculateWorldBounds(IPolygonalArea)
CalculateWorldBounds(Transform, Vector3[], Vector3[], FalloffDirection)
CloneAnchors(Vector3[])
IsOverlap(IPolygonalArea, Bounds)
RenderPolygonalMask(IPolygonalArea, Bounds, RenderTexture)

Renders a polygonal area directly into a supplied world-bounds texture space, including falloff when supported.

RenderPolygonalMask(IPolygonalArea, RenderTexture)

Renders a polygonal area into its own world-bounds texture space, including falloff when supported.