2
0

PolygonPathFinder.xml 2.0 KB

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