public class PolygonPathFinder : Resource

Inheritance Chain

Constructors

    public PolygonPathFinder()

Properties

    public Collections.Dictionary Data { get; set; }

Methods

    public Vector2[] FindPath(Vector2 from, Vector2 to)

    public Rect2 GetBounds()

    public Vector2 GetClosestPoint(Vector2 point)

    public Vector2[] GetIntersections(Vector2 from, Vector2 to)

    public float GetPointPenalty(int idx)

    public bool IsPointInside(Vector2 point)

    public void SetPointPenalty(int idx, float penalty)

    public void Setup(Vector2[] points, int[] connections)
Tags: