2
0

PolygonPathFinder.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="PolygonPathFinder" inherits="Resource" category="Core" version="3.1">
  3. <brief_description>
  4. </brief_description>
  5. <description>
  6. </description>
  7. <tutorials>
  8. </tutorials>
  9. <demos>
  10. </demos>
  11. <methods>
  12. <method name="find_path">
  13. <return type="PoolVector2Array">
  14. </return>
  15. <argument index="0" name="from" type="Vector2">
  16. </argument>
  17. <argument index="1" name="to" type="Vector2">
  18. </argument>
  19. <description>
  20. </description>
  21. </method>
  22. <method name="get_bounds" qualifiers="const">
  23. <return type="Rect2">
  24. </return>
  25. <description>
  26. </description>
  27. </method>
  28. <method name="get_closest_point" qualifiers="const">
  29. <return type="Vector2">
  30. </return>
  31. <argument index="0" name="point" type="Vector2">
  32. </argument>
  33. <description>
  34. </description>
  35. </method>
  36. <method name="get_intersections" qualifiers="const">
  37. <return type="PoolVector2Array">
  38. </return>
  39. <argument index="0" name="from" type="Vector2">
  40. </argument>
  41. <argument index="1" name="to" type="Vector2">
  42. </argument>
  43. <description>
  44. </description>
  45. </method>
  46. <method name="get_point_penalty" qualifiers="const">
  47. <return type="float">
  48. </return>
  49. <argument index="0" name="idx" type="int">
  50. </argument>
  51. <description>
  52. </description>
  53. </method>
  54. <method name="is_point_inside" qualifiers="const">
  55. <return type="bool">
  56. </return>
  57. <argument index="0" name="point" type="Vector2">
  58. </argument>
  59. <description>
  60. </description>
  61. </method>
  62. <method name="set_point_penalty">
  63. <return type="void">
  64. </return>
  65. <argument index="0" name="idx" type="int">
  66. </argument>
  67. <argument index="1" name="penalty" type="float">
  68. </argument>
  69. <description>
  70. </description>
  71. </method>
  72. <method name="setup">
  73. <return type="void">
  74. </return>
  75. <argument index="0" name="points" type="PoolVector2Array">
  76. </argument>
  77. <argument index="1" name="connections" type="PoolIntArray">
  78. </argument>
  79. <description>
  80. </description>
  81. </method>
  82. </methods>
  83. <constants>
  84. </constants>
  85. </class>