class_navigation2d.rst 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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_Navigation2D:
  4. Navigation2D
  5. ============
  6. **Inherits:** :ref:`Node2D<class_node2d>` **<** :ref:`CanvasItem<class_canvasitem>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Member Functions
  11. ----------------
  12. +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  13. | :ref:`Vector2<class_vector2>` | :ref:`get_closest_point<class_Navigation2D_get_closest_point>` **(** :ref:`Vector2<class_vector2>` to_point **)** |
  14. +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  15. | :ref:`Object<class_object>` | :ref:`get_closest_point_owner<class_Navigation2D_get_closest_point_owner>` **(** :ref:`Vector2<class_vector2>` to_point **)** |
  16. +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  17. | :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 **)** |
  18. +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  19. | :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 **)** |
  20. +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  21. | void | :ref:`navpoly_remove<class_Navigation2D_navpoly_remove>` **(** :ref:`int<class_int>` id **)** |
  22. +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  23. | void | :ref:`navpoly_set_transform<class_Navigation2D_navpoly_set_transform>` **(** :ref:`int<class_int>` id, :ref:`Matrix32<class_matrix32>` xform **)** |
  24. +------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  25. Member Function Description
  26. ---------------------------
  27. .. _class_Navigation2D_get_closest_point:
  28. - :ref:`Vector2<class_vector2>` **get_closest_point** **(** :ref:`Vector2<class_vector2>` to_point **)**
  29. .. _class_Navigation2D_get_closest_point_owner:
  30. - :ref:`Object<class_object>` **get_closest_point_owner** **(** :ref:`Vector2<class_vector2>` to_point **)**
  31. .. _class_Navigation2D_get_simple_path:
  32. - :ref:`Vector2Array<class_vector2array>` **get_simple_path** **(** :ref:`Vector2<class_vector2>` start, :ref:`Vector2<class_vector2>` end, :ref:`bool<class_bool>` optimize=true **)**
  33. .. _class_Navigation2D_navpoly_create:
  34. - :ref:`int<class_int>` **navpoly_create** **(** :ref:`NavigationPolygon<class_navigationpolygon>` mesh, :ref:`Matrix32<class_matrix32>` xform, :ref:`Object<class_object>` owner=NULL **)**
  35. .. _class_Navigation2D_navpoly_remove:
  36. - void **navpoly_remove** **(** :ref:`int<class_int>` id **)**
  37. .. _class_Navigation2D_navpoly_set_transform:
  38. - void **navpoly_set_transform** **(** :ref:`int<class_int>` id, :ref:`Matrix32<class_matrix32>` xform **)**