Interface IPolygonProximity
Defines a proximity outlined by a 2D polygon.
public interface IPolygonProximity : INearestPointProximity, IAttachableProximity<IAttachedPolygonProximity>, IProximity, IShapeVolume, ICloneable
- Inherited Members
-
IShapeVolume.containsPoint(Vector3)IShapeVolume.worldBoundsIShapeVolume.internalVolumeIShapeVolume.surfaceArea
- Extension Methods
Properties
MaxHeight
Maximum Y value of the polygon.
float? MaxHeight { get; }
Property Value
MinHeight
Minimum Y value of the polygon.
float? MinHeight { get; }
Property Value
Points
Ordered list of all points in the polygon.
IReadOnlyList<Vector2> Points { get; }
Property Value
- IReadOnlyList<Vector2>