mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
63 lines
4.7 KiB
ReStructuredText
63 lines
4.7 KiB
ReStructuredText
.. 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_Navigation2D:
|
|
|
|
Navigation2D
|
|
============
|
|
|
|
**Inherits:** :ref:`Node2D<class_node2d>` **<** :ref:`CanvasItem<class_canvasitem>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
|
|
|
|
Member Functions
|
|
----------------
|
|
|
|
+------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`Vector2<class_vector2>` | :ref:`get_closest_point<class_Navigation2D_get_closest_point>` **(** :ref:`Vector2<class_vector2>` to_point **)** |
|
|
+------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`Object<class_object>` | :ref:`get_closest_point_owner<class_Navigation2D_get_closest_point_owner>` **(** :ref:`Vector2<class_vector2>` to_point **)** |
|
|
+------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`Vector2Array<class_vector2array>` | :ref:`get_simple_path<class_Navigation2D_get_simple_path>` **(** :ref:`Vector2<class_vector2>` start, :ref:`Vector2<class_vector2>` end, :ref:`bool<class_bool>` optimize=true **)** |
|
|
+------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`navpoly_create<class_Navigation2D_navpoly_create>` **(** :ref:`NavigationPolygon<class_navigationpolygon>` mesh, :ref:`Matrix32<class_matrix32>` xform, :ref:`Object<class_object>` owner=NULL **)** |
|
|
+------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`navpoly_remove<class_Navigation2D_navpoly_remove>` **(** :ref:`int<class_int>` id **)** |
|
|
+------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`navpoly_set_transform<class_Navigation2D_navpoly_set_transform>` **(** :ref:`int<class_int>` id, :ref:`Matrix32<class_matrix32>` xform **)** |
|
|
+------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
|
|
Member Function Description
|
|
---------------------------
|
|
|
|
.. _class_Navigation2D_get_closest_point:
|
|
|
|
- :ref:`Vector2<class_vector2>` **get_closest_point** **(** :ref:`Vector2<class_vector2>` to_point **)**
|
|
|
|
.. _class_Navigation2D_get_closest_point_owner:
|
|
|
|
- :ref:`Object<class_object>` **get_closest_point_owner** **(** :ref:`Vector2<class_vector2>` to_point **)**
|
|
|
|
.. _class_Navigation2D_get_simple_path:
|
|
|
|
- :ref:`Vector2Array<class_vector2array>` **get_simple_path** **(** :ref:`Vector2<class_vector2>` start, :ref:`Vector2<class_vector2>` end, :ref:`bool<class_bool>` optimize=true **)**
|
|
|
|
.. _class_Navigation2D_navpoly_create:
|
|
|
|
- :ref:`int<class_int>` **navpoly_create** **(** :ref:`NavigationPolygon<class_navigationpolygon>` mesh, :ref:`Matrix32<class_matrix32>` xform, :ref:`Object<class_object>` owner=NULL **)**
|
|
|
|
.. _class_Navigation2D_navpoly_remove:
|
|
|
|
- void **navpoly_remove** **(** :ref:`int<class_int>` id **)**
|
|
|
|
.. _class_Navigation2D_navpoly_set_transform:
|
|
|
|
- void **navpoly_set_transform** **(** :ref:`int<class_int>` id, :ref:`Matrix32<class_matrix32>` xform **)**
|
|
|
|
|