.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead. .. _class_PolygonPathFinder: PolygonPathFinder ================= **Inherits:** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Member Functions ---------------- +--------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`PoolVector2Array` | :ref:`find_path` **(** :ref:`Vector2` from, :ref:`Vector2` to **)** | +--------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Rect2` | :ref:`get_bounds` **(** **)** const | +--------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Vector2` | :ref:`get_closest_point` **(** :ref:`Vector2` point **)** const | +--------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`PoolVector2Array` | :ref:`get_intersections` **(** :ref:`Vector2` from, :ref:`Vector2` to **)** const | +--------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_point_penalty` **(** :ref:`int` idx **)** const | +--------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_point_inside` **(** :ref:`Vector2` point **)** const | +--------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_point_penalty` **(** :ref:`int` idx, :ref:`float` penalty **)** | +--------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`setup` **(** :ref:`PoolVector2Array` points, :ref:`PoolIntArray` connections **)** | +--------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Member Variables ---------------- - :ref:`Dictionary` **data** Member Function Description --------------------------- .. _class_PolygonPathFinder_find_path: - :ref:`PoolVector2Array` **find_path** **(** :ref:`Vector2` from, :ref:`Vector2` to **)** .. _class_PolygonPathFinder_get_bounds: - :ref:`Rect2` **get_bounds** **(** **)** const .. _class_PolygonPathFinder_get_closest_point: - :ref:`Vector2` **get_closest_point** **(** :ref:`Vector2` point **)** const .. _class_PolygonPathFinder_get_intersections: - :ref:`PoolVector2Array` **get_intersections** **(** :ref:`Vector2` from, :ref:`Vector2` to **)** const .. _class_PolygonPathFinder_get_point_penalty: - :ref:`float` **get_point_penalty** **(** :ref:`int` idx **)** const .. _class_PolygonPathFinder_is_point_inside: - :ref:`bool` **is_point_inside** **(** :ref:`Vector2` point **)** const .. _class_PolygonPathFinder_set_point_penalty: - void **set_point_penalty** **(** :ref:`int` idx, :ref:`float` penalty **)** .. _class_PolygonPathFinder_setup: - void **setup** **(** :ref:`PoolVector2Array` points, :ref:`PoolIntArray` connections **)**