123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
- .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
- .. _class_NavigationPolygon:
- NavigationPolygon
- =================
- **Inherits:** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
- **Category:** Core
- Brief Description
- -----------------
- Member Functions
- ----------------
- +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`add_outline<class_NavigationPolygon_add_outline>` **(** :ref:`Vector2Array<class_vector2array>` outline **)** |
- +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`add_outline_at_index<class_NavigationPolygon_add_outline_at_index>` **(** :ref:`Vector2Array<class_vector2array>` outline, :ref:`int<class_int>` index **)** |
- +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`add_polygon<class_NavigationPolygon_add_polygon>` **(** :ref:`IntArray<class_intarray>` polygon **)** |
- +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`clear_outlines<class_NavigationPolygon_clear_outlines>` **(** **)** |
- +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`clear_polygons<class_NavigationPolygon_clear_polygons>` **(** **)** |
- +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Vector2Array<class_vector2array>` | :ref:`get_outline<class_NavigationPolygon_get_outline>` **(** :ref:`int<class_int>` idx **)** const |
- +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`get_outline_count<class_NavigationPolygon_get_outline_count>` **(** **)** const |
- +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`IntArray<class_intarray>` | :ref:`get_polygon<class_NavigationPolygon_get_polygon>` **(** :ref:`int<class_int>` idx **)** |
- +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`get_polygon_count<class_NavigationPolygon_get_polygon_count>` **(** **)** const |
- +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Vector2Array<class_vector2array>` | :ref:`get_vertices<class_NavigationPolygon_get_vertices>` **(** **)** const |
- +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`make_polygons_from_outlines<class_NavigationPolygon_make_polygons_from_outlines>` **(** **)** |
- +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`remove_outline<class_NavigationPolygon_remove_outline>` **(** :ref:`int<class_int>` idx **)** |
- +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_outline<class_NavigationPolygon_set_outline>` **(** :ref:`int<class_int>` idx, :ref:`Vector2Array<class_vector2array>` outline **)** |
- +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_vertices<class_NavigationPolygon_set_vertices>` **(** :ref:`Vector2Array<class_vector2array>` vertices **)** |
- +------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- Member Function Description
- ---------------------------
- .. _class_NavigationPolygon_add_outline:
- - void **add_outline** **(** :ref:`Vector2Array<class_vector2array>` outline **)**
- .. _class_NavigationPolygon_add_outline_at_index:
- - void **add_outline_at_index** **(** :ref:`Vector2Array<class_vector2array>` outline, :ref:`int<class_int>` index **)**
- .. _class_NavigationPolygon_add_polygon:
- - void **add_polygon** **(** :ref:`IntArray<class_intarray>` polygon **)**
- .. _class_NavigationPolygon_clear_outlines:
- - void **clear_outlines** **(** **)**
- .. _class_NavigationPolygon_clear_polygons:
- - void **clear_polygons** **(** **)**
- .. _class_NavigationPolygon_get_outline:
- - :ref:`Vector2Array<class_vector2array>` **get_outline** **(** :ref:`int<class_int>` idx **)** const
- .. _class_NavigationPolygon_get_outline_count:
- - :ref:`int<class_int>` **get_outline_count** **(** **)** const
- .. _class_NavigationPolygon_get_polygon:
- - :ref:`IntArray<class_intarray>` **get_polygon** **(** :ref:`int<class_int>` idx **)**
- .. _class_NavigationPolygon_get_polygon_count:
- - :ref:`int<class_int>` **get_polygon_count** **(** **)** const
- .. _class_NavigationPolygon_get_vertices:
- - :ref:`Vector2Array<class_vector2array>` **get_vertices** **(** **)** const
- .. _class_NavigationPolygon_make_polygons_from_outlines:
- - void **make_polygons_from_outlines** **(** **)**
- .. _class_NavigationPolygon_remove_outline:
- - void **remove_outline** **(** :ref:`int<class_int>` idx **)**
- .. _class_NavigationPolygon_set_outline:
- - void **set_outline** **(** :ref:`int<class_int>` idx, :ref:`Vector2Array<class_vector2array>` outline **)**
- .. _class_NavigationPolygon_set_vertices:
- - void **set_vertices** **(** :ref:`Vector2Array<class_vector2array>` vertices **)**
|