NavigationPolygon.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="NavigationPolygon" inherits="Resource" category="Core" version="3.0.alpha.custom_build">
  3. <brief_description>
  4. </brief_description>
  5. <description>
  6. </description>
  7. <tutorials>
  8. </tutorials>
  9. <demos>
  10. </demos>
  11. <methods>
  12. <method name="add_outline">
  13. <return type="void">
  14. </return>
  15. <argument index="0" name="outline" type="PoolVector2Array">
  16. </argument>
  17. <description>
  18. </description>
  19. </method>
  20. <method name="add_outline_at_index">
  21. <return type="void">
  22. </return>
  23. <argument index="0" name="outline" type="PoolVector2Array">
  24. </argument>
  25. <argument index="1" name="index" type="int">
  26. </argument>
  27. <description>
  28. </description>
  29. </method>
  30. <method name="add_polygon">
  31. <return type="void">
  32. </return>
  33. <argument index="0" name="polygon" type="PoolIntArray">
  34. </argument>
  35. <description>
  36. </description>
  37. </method>
  38. <method name="clear_outlines">
  39. <return type="void">
  40. </return>
  41. <description>
  42. </description>
  43. </method>
  44. <method name="clear_polygons">
  45. <return type="void">
  46. </return>
  47. <description>
  48. </description>
  49. </method>
  50. <method name="get_outline" qualifiers="const">
  51. <return type="PoolVector2Array">
  52. </return>
  53. <argument index="0" name="idx" type="int">
  54. </argument>
  55. <description>
  56. </description>
  57. </method>
  58. <method name="get_outline_count" qualifiers="const">
  59. <return type="int">
  60. </return>
  61. <description>
  62. </description>
  63. </method>
  64. <method name="get_polygon">
  65. <return type="PoolIntArray">
  66. </return>
  67. <argument index="0" name="idx" type="int">
  68. </argument>
  69. <description>
  70. </description>
  71. </method>
  72. <method name="get_polygon_count" qualifiers="const">
  73. <return type="int">
  74. </return>
  75. <description>
  76. </description>
  77. </method>
  78. <method name="get_vertices" qualifiers="const">
  79. <return type="PoolVector2Array">
  80. </return>
  81. <description>
  82. </description>
  83. </method>
  84. <method name="make_polygons_from_outlines">
  85. <return type="void">
  86. </return>
  87. <description>
  88. </description>
  89. </method>
  90. <method name="remove_outline">
  91. <return type="void">
  92. </return>
  93. <argument index="0" name="idx" type="int">
  94. </argument>
  95. <description>
  96. </description>
  97. </method>
  98. <method name="set_outline">
  99. <return type="void">
  100. </return>
  101. <argument index="0" name="idx" type="int">
  102. </argument>
  103. <argument index="1" name="outline" type="PoolVector2Array">
  104. </argument>
  105. <description>
  106. </description>
  107. </method>
  108. <method name="set_vertices">
  109. <return type="void">
  110. </return>
  111. <argument index="0" name="vertices" type="PoolVector2Array">
  112. </argument>
  113. <description>
  114. </description>
  115. </method>
  116. </methods>
  117. <members>
  118. <member name="outlines" type="Array" setter="_set_outlines" getter="_get_outlines">
  119. </member>
  120. <member name="polygons" type="Array" setter="_set_polygons" getter="_get_polygons">
  121. </member>
  122. <member name="vertices" type="PoolVector2Array" setter="set_vertices" getter="get_vertices">
  123. </member>
  124. </members>
  125. <constants>
  126. </constants>
  127. </class>