Navigation.xml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="Navigation" inherits="Spatial" 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="get_closest_point">
  13. <return type="Vector3">
  14. </return>
  15. <argument index="0" name="to_point" type="Vector3">
  16. </argument>
  17. <description>
  18. </description>
  19. </method>
  20. <method name="get_closest_point_normal">
  21. <return type="Vector3">
  22. </return>
  23. <argument index="0" name="to_point" type="Vector3">
  24. </argument>
  25. <description>
  26. </description>
  27. </method>
  28. <method name="get_closest_point_owner">
  29. <return type="Object">
  30. </return>
  31. <argument index="0" name="to_point" type="Vector3">
  32. </argument>
  33. <description>
  34. </description>
  35. </method>
  36. <method name="get_closest_point_to_segment">
  37. <return type="Vector3">
  38. </return>
  39. <argument index="0" name="start" type="Vector3">
  40. </argument>
  41. <argument index="1" name="end" type="Vector3">
  42. </argument>
  43. <argument index="2" name="use_collision" type="bool" default="false">
  44. </argument>
  45. <description>
  46. </description>
  47. </method>
  48. <method name="get_simple_path">
  49. <return type="PoolVector3Array">
  50. </return>
  51. <argument index="0" name="start" type="Vector3">
  52. </argument>
  53. <argument index="1" name="end" type="Vector3">
  54. </argument>
  55. <argument index="2" name="optimize" type="bool" default="true">
  56. </argument>
  57. <description>
  58. </description>
  59. </method>
  60. <method name="get_up_vector" qualifiers="const">
  61. <return type="Vector3">
  62. </return>
  63. <description>
  64. </description>
  65. </method>
  66. <method name="navmesh_create">
  67. <return type="int">
  68. </return>
  69. <argument index="0" name="mesh" type="NavigationMesh">
  70. </argument>
  71. <argument index="1" name="xform" type="Transform">
  72. </argument>
  73. <argument index="2" name="owner" type="Object" default="null">
  74. </argument>
  75. <description>
  76. </description>
  77. </method>
  78. <method name="navmesh_remove">
  79. <return type="void">
  80. </return>
  81. <argument index="0" name="id" type="int">
  82. </argument>
  83. <description>
  84. </description>
  85. </method>
  86. <method name="navmesh_set_transform">
  87. <return type="void">
  88. </return>
  89. <argument index="0" name="id" type="int">
  90. </argument>
  91. <argument index="1" name="xform" type="Transform">
  92. </argument>
  93. <description>
  94. </description>
  95. </method>
  96. <method name="set_up_vector">
  97. <return type="void">
  98. </return>
  99. <argument index="0" name="up" type="Vector3">
  100. </argument>
  101. <description>
  102. </description>
  103. </method>
  104. </methods>
  105. <members>
  106. <member name="up_vector" type="Vector3" setter="set_up_vector" getter="get_up_vector">
  107. </member>
  108. </members>
  109. <constants>
  110. </constants>
  111. </class>