.. 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` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Member Functions ---------------- +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`add_outline` **(** :ref:`PoolVector2Array` outline **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`add_outline_at_index` **(** :ref:`PoolVector2Array` outline, :ref:`int` index **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`add_polygon` **(** :ref:`PoolIntArray` polygon **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`clear_outlines` **(** **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`clear_polygons` **(** **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`PoolVector2Array` | :ref:`get_outline` **(** :ref:`int` idx **)** const | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_outline_count` **(** **)** const | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`PoolIntArray` | :ref:`get_polygon` **(** :ref:`int` idx **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_polygon_count` **(** **)** const | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`PoolVector2Array` | :ref:`get_vertices` **(** **)** const | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`make_polygons_from_outlines` **(** **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`remove_outline` **(** :ref:`int` idx **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_outline` **(** :ref:`int` idx, :ref:`PoolVector2Array` outline **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_vertices` **(** :ref:`PoolVector2Array` vertices **)** | +--------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Member Variables ---------------- - :ref:`Array` **outlines** - :ref:`Array` **polygons** - :ref:`PoolVector2Array` **vertices** Member Function Description --------------------------- .. _class_NavigationPolygon_add_outline: - void **add_outline** **(** :ref:`PoolVector2Array` outline **)** .. _class_NavigationPolygon_add_outline_at_index: - void **add_outline_at_index** **(** :ref:`PoolVector2Array` outline, :ref:`int` index **)** .. _class_NavigationPolygon_add_polygon: - void **add_polygon** **(** :ref:`PoolIntArray` polygon **)** .. _class_NavigationPolygon_clear_outlines: - void **clear_outlines** **(** **)** .. _class_NavigationPolygon_clear_polygons: - void **clear_polygons** **(** **)** .. _class_NavigationPolygon_get_outline: - :ref:`PoolVector2Array` **get_outline** **(** :ref:`int` idx **)** const .. _class_NavigationPolygon_get_outline_count: - :ref:`int` **get_outline_count** **(** **)** const .. _class_NavigationPolygon_get_polygon: - :ref:`PoolIntArray` **get_polygon** **(** :ref:`int` idx **)** .. _class_NavigationPolygon_get_polygon_count: - :ref:`int` **get_polygon_count** **(** **)** const .. _class_NavigationPolygon_get_vertices: - :ref:`PoolVector2Array` **get_vertices** **(** **)** const .. _class_NavigationPolygon_make_polygons_from_outlines: - void **make_polygons_from_outlines** **(** **)** .. _class_NavigationPolygon_remove_outline: - void **remove_outline** **(** :ref:`int` idx **)** .. _class_NavigationPolygon_set_outline: - void **set_outline** **(** :ref:`int` idx, :ref:`PoolVector2Array` outline **)** .. _class_NavigationPolygon_set_vertices: - void **set_vertices** **(** :ref:`PoolVector2Array` vertices **)**