Table of Contents

Interface IPolygonProximity

Namespace
Uncreated.Warfare.Proximity
Assembly
Uncreated.Warfare.dll

Defines a proximity outlined by a 2D polygon.

public interface IPolygonProximity : INearestPointProximity, IAttachableProximity<IAttachedPolygonProximity>, IProximity, IShapeVolume, ICloneable
Inherited Members
IShapeVolume.containsPoint(Vector3)
IShapeVolume.worldBounds
IShapeVolume.internalVolume
IShapeVolume.surfaceArea
Extension Methods

Properties

MaxHeight

Maximum Y value of the polygon.

float? MaxHeight { get; }

Property Value

float?

MinHeight

Minimum Y value of the polygon.

float? MinHeight { get; }

Property Value

float?

Points

Ordered list of all points in the polygon.

IReadOnlyList<Vector2> Points { get; }

Property Value

IReadOnlyList<Vector2>