class_navigationpolygon.rst 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
  3. .. _class_NavigationPolygon:
  4. NavigationPolygon
  5. =================
  6. **Inherits:** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Member Functions
  11. ----------------
  12. +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  13. | void | :ref:`add_outline<class_NavigationPolygon_add_outline>` **(** :ref:`Vector2Array<class_vector2array>` outline **)** |
  14. +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  15. | void | :ref:`add_outline_at_index<class_NavigationPolygon_add_outline_at_index>` **(** :ref:`Vector2Array<class_vector2array>` outline, :ref:`int<class_int>` index **)** |
  16. +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  17. | void | :ref:`add_polygon<class_NavigationPolygon_add_polygon>` **(** :ref:`IntArray<class_intarray>` polygon **)** |
  18. +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  19. | void | :ref:`clear_outlines<class_NavigationPolygon_clear_outlines>` **(** **)** |
  20. +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  21. | void | :ref:`clear_polygons<class_NavigationPolygon_clear_polygons>` **(** **)** |
  22. +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  23. | :ref:`Vector2Array<class_vector2array>` | :ref:`get_outline<class_NavigationPolygon_get_outline>` **(** :ref:`int<class_int>` idx **)** const |
  24. +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  25. | :ref:`int<class_int>` | :ref:`get_outline_count<class_NavigationPolygon_get_outline_count>` **(** **)** const |
  26. +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  27. | :ref:`IntArray<class_intarray>` | :ref:`get_polygon<class_NavigationPolygon_get_polygon>` **(** :ref:`int<class_int>` idx **)** |
  28. +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  29. | :ref:`int<class_int>` | :ref:`get_polygon_count<class_NavigationPolygon_get_polygon_count>` **(** **)** const |
  30. +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  31. | :ref:`Vector2Array<class_vector2array>` | :ref:`get_vertices<class_NavigationPolygon_get_vertices>` **(** **)** const |
  32. +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  33. | void | :ref:`make_polygons_from_outlines<class_NavigationPolygon_make_polygons_from_outlines>` **(** **)** |
  34. +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  35. | void | :ref:`remove_outline<class_NavigationPolygon_remove_outline>` **(** :ref:`int<class_int>` idx **)** |
  36. +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  37. | void | :ref:`set_outline<class_NavigationPolygon_set_outline>` **(** :ref:`int<class_int>` idx, :ref:`Vector2Array<class_vector2array>` outline **)** |
  38. +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  39. | void | :ref:`set_vertices<class_NavigationPolygon_set_vertices>` **(** :ref:`Vector2Array<class_vector2array>` vertices **)** |
  40. +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  41. Member Function Description
  42. ---------------------------
  43. .. _class_NavigationPolygon_add_outline:
  44. - void **add_outline** **(** :ref:`Vector2Array<class_vector2array>` outline **)**
  45. .. _class_NavigationPolygon_add_outline_at_index:
  46. - void **add_outline_at_index** **(** :ref:`Vector2Array<class_vector2array>` outline, :ref:`int<class_int>` index **)**
  47. .. _class_NavigationPolygon_add_polygon:
  48. - void **add_polygon** **(** :ref:`IntArray<class_intarray>` polygon **)**
  49. .. _class_NavigationPolygon_clear_outlines:
  50. - void **clear_outlines** **(** **)**
  51. .. _class_NavigationPolygon_clear_polygons:
  52. - void **clear_polygons** **(** **)**
  53. .. _class_NavigationPolygon_get_outline:
  54. - :ref:`Vector2Array<class_vector2array>` **get_outline** **(** :ref:`int<class_int>` idx **)** const
  55. .. _class_NavigationPolygon_get_outline_count:
  56. - :ref:`int<class_int>` **get_outline_count** **(** **)** const
  57. .. _class_NavigationPolygon_get_polygon:
  58. - :ref:`IntArray<class_intarray>` **get_polygon** **(** :ref:`int<class_int>` idx **)**
  59. .. _class_NavigationPolygon_get_polygon_count:
  60. - :ref:`int<class_int>` **get_polygon_count** **(** **)** const
  61. .. _class_NavigationPolygon_get_vertices:
  62. - :ref:`Vector2Array<class_vector2array>` **get_vertices** **(** **)** const
  63. .. _class_NavigationPolygon_make_polygons_from_outlines:
  64. - void **make_polygons_from_outlines** **(** **)**
  65. .. _class_NavigationPolygon_remove_outline:
  66. - void **remove_outline** **(** :ref:`int<class_int>` idx **)**
  67. .. _class_NavigationPolygon_set_outline:
  68. - void **set_outline** **(** :ref:`int<class_int>` idx, :ref:`Vector2Array<class_vector2array>` outline **)**
  69. .. _class_NavigationPolygon_set_vertices:
  70. - void **set_vertices** **(** :ref:`Vector2Array<class_vector2array>` vertices **)**