Class LocalAreaUtils
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.
- 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.