class_navigationpolygon.rst 8.7 KB

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