NavigationMesh.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="NavigationMesh" inherits="Resource" category="Core" version="3.1.2">
  3. <brief_description>
  4. </brief_description>
  5. <description>
  6. </description>
  7. <tutorials>
  8. </tutorials>
  9. <methods>
  10. <method name="add_polygon">
  11. <return type="void">
  12. </return>
  13. <argument index="0" name="polygon" type="PoolIntArray">
  14. </argument>
  15. <description>
  16. </description>
  17. </method>
  18. <method name="clear_polygons">
  19. <return type="void">
  20. </return>
  21. <description>
  22. </description>
  23. </method>
  24. <method name="create_from_mesh">
  25. <return type="void">
  26. </return>
  27. <argument index="0" name="mesh" type="Mesh">
  28. </argument>
  29. <description>
  30. </description>
  31. </method>
  32. <method name="get_polygon">
  33. <return type="PoolIntArray">
  34. </return>
  35. <argument index="0" name="idx" type="int">
  36. </argument>
  37. <description>
  38. </description>
  39. </method>
  40. <method name="get_polygon_count" qualifiers="const">
  41. <return type="int">
  42. </return>
  43. <description>
  44. </description>
  45. </method>
  46. <method name="get_vertices" qualifiers="const">
  47. <return type="PoolVector3Array">
  48. </return>
  49. <description>
  50. </description>
  51. </method>
  52. <method name="set_vertices">
  53. <return type="void">
  54. </return>
  55. <argument index="0" name="vertices" type="PoolVector3Array">
  56. </argument>
  57. <description>
  58. </description>
  59. </method>
  60. </methods>
  61. <members>
  62. <member name="agent/height" type="float" setter="set_agent_height" getter="get_agent_height">
  63. </member>
  64. <member name="agent/max_climb" type="float" setter="set_agent_max_climb" getter="get_agent_max_climb">
  65. </member>
  66. <member name="agent/max_slope" type="float" setter="set_agent_max_slope" getter="get_agent_max_slope">
  67. </member>
  68. <member name="agent/radius" type="float" setter="set_agent_radius" getter="get_agent_radius">
  69. </member>
  70. <member name="cell/height" type="float" setter="set_cell_height" getter="get_cell_height">
  71. </member>
  72. <member name="cell/size" type="float" setter="set_cell_size" getter="get_cell_size">
  73. </member>
  74. <member name="detail/sample_distance" type="float" setter="set_detail_sample_distance" getter="get_detail_sample_distance">
  75. </member>
  76. <member name="detail/sample_max_error" type="float" setter="set_detail_sample_max_error" getter="get_detail_sample_max_error">
  77. </member>
  78. <member name="edge/max_error" type="float" setter="set_edge_max_error" getter="get_edge_max_error">
  79. </member>
  80. <member name="edge/max_length" type="float" setter="set_edge_max_length" getter="get_edge_max_length">
  81. </member>
  82. <member name="filter/filter_walkable_low_height_spans" type="bool" setter="set_filter_walkable_low_height_spans" getter="get_filter_walkable_low_height_spans">
  83. </member>
  84. <member name="filter/ledge_spans" type="bool" setter="set_filter_ledge_spans" getter="get_filter_ledge_spans">
  85. </member>
  86. <member name="filter/low_hanging_obstacles" type="bool" setter="set_filter_low_hanging_obstacles" getter="get_filter_low_hanging_obstacles">
  87. </member>
  88. <member name="polygon/verts_per_poly" type="float" setter="set_verts_per_poly" getter="get_verts_per_poly">
  89. </member>
  90. <member name="region/merge_size" type="float" setter="set_region_merge_size" getter="get_region_merge_size">
  91. </member>
  92. <member name="region/min_size" type="float" setter="set_region_min_size" getter="get_region_min_size">
  93. </member>
  94. <member name="sample_partition_type/sample_partition_type" type="int" setter="set_sample_partition_type" getter="get_sample_partition_type">
  95. </member>
  96. </members>
  97. <constants>
  98. <constant name="SAMPLE_PARTITION_WATERSHED" value="0">
  99. </constant>
  100. <constant name="SAMPLE_PARTITION_MONOTONE" value="1">
  101. </constant>
  102. <constant name="SAMPLE_PARTITION_LAYERS" value="2">
  103. </constant>
  104. </constants>
  105. </class>