class_polygonpathfinder.rst 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
  3. .. _class_PolygonPathFinder:
  4. PolygonPathFinder
  5. =================
  6. **Inherits:** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Member Functions
  11. ----------------
  12. +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
  13. | :ref:`Vector2Array<class_vector2array>` | :ref:`find_path<class_PolygonPathFinder_find_path>` **(** :ref:`Vector2<class_vector2>` from, :ref:`Vector2<class_vector2>` to **)** |
  14. +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
  15. | :ref:`Rect2<class_rect2>` | :ref:`get_bounds<class_PolygonPathFinder_get_bounds>` **(** **)** const |
  16. +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
  17. | :ref:`Vector2<class_vector2>` | :ref:`get_closest_point<class_PolygonPathFinder_get_closest_point>` **(** :ref:`Vector2<class_vector2>` point **)** const |
  18. +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
  19. | :ref:`Vector2Array<class_vector2array>` | :ref:`get_intersections<class_PolygonPathFinder_get_intersections>` **(** :ref:`Vector2<class_vector2>` from, :ref:`Vector2<class_vector2>` to **)** const |
  20. +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
  21. | :ref:`float<class_float>` | :ref:`get_point_penalty<class_PolygonPathFinder_get_point_penalty>` **(** :ref:`int<class_int>` idx **)** const |
  22. +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
  23. | :ref:`bool<class_bool>` | :ref:`is_point_inside<class_PolygonPathFinder_is_point_inside>` **(** :ref:`Vector2<class_vector2>` point **)** const |
  24. +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
  25. | void | :ref:`set_point_penalty<class_PolygonPathFinder_set_point_penalty>` **(** :ref:`int<class_int>` idx, :ref:`float<class_float>` penalty **)** |
  26. +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
  27. | void | :ref:`setup<class_PolygonPathFinder_setup>` **(** :ref:`Vector2Array<class_vector2array>` points, :ref:`IntArray<class_intarray>` connections **)** |
  28. +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
  29. Member Function Description
  30. ---------------------------
  31. .. _class_PolygonPathFinder_find_path:
  32. - :ref:`Vector2Array<class_vector2array>` **find_path** **(** :ref:`Vector2<class_vector2>` from, :ref:`Vector2<class_vector2>` to **)**
  33. .. _class_PolygonPathFinder_get_bounds:
  34. - :ref:`Rect2<class_rect2>` **get_bounds** **(** **)** const
  35. .. _class_PolygonPathFinder_get_closest_point:
  36. - :ref:`Vector2<class_vector2>` **get_closest_point** **(** :ref:`Vector2<class_vector2>` point **)** const
  37. .. _class_PolygonPathFinder_get_intersections:
  38. - :ref:`Vector2Array<class_vector2array>` **get_intersections** **(** :ref:`Vector2<class_vector2>` from, :ref:`Vector2<class_vector2>` to **)** const
  39. .. _class_PolygonPathFinder_get_point_penalty:
  40. - :ref:`float<class_float>` **get_point_penalty** **(** :ref:`int<class_int>` idx **)** const
  41. .. _class_PolygonPathFinder_is_point_inside:
  42. - :ref:`bool<class_bool>` **is_point_inside** **(** :ref:`Vector2<class_vector2>` point **)** const
  43. .. _class_PolygonPathFinder_set_point_penalty:
  44. - void **set_point_penalty** **(** :ref:`int<class_int>` idx, :ref:`float<class_float>` penalty **)**
  45. .. _class_PolygonPathFinder_setup:
  46. - void **setup** **(** :ref:`Vector2Array<class_vector2array>` points, :ref:`IntArray<class_intarray>` connections **)**