2
0

class_path3d.rst 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Path3D.xml.
  6. .. _class_Path3D:
  7. Path3D
  8. ======
  9. **Inherits:** :ref:`Node3D<class_Node3D>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  10. Contains a :ref:`Curve3D<class_Curve3D>` path for :ref:`PathFollow3D<class_PathFollow3D>` nodes to follow.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. Can have :ref:`PathFollow3D<class_PathFollow3D>` child nodes moving along the :ref:`Curve3D<class_Curve3D>`. See :ref:`PathFollow3D<class_PathFollow3D>` for more information on the usage.
  15. Note that the path is considered as relative to the moved nodes (children of :ref:`PathFollow3D<class_PathFollow3D>`). As such, the curve should usually start with a zero vector ``(0, 0, 0)``.
  16. .. rst-class:: classref-reftable-group
  17. Properties
  18. ----------
  19. .. table::
  20. :widths: auto
  21. +-------------------------------+---------------------------------------------------------------------+-----------------------+
  22. | :ref:`Curve3D<class_Curve3D>` | :ref:`curve<class_Path3D_property_curve>` | |
  23. +-------------------------------+---------------------------------------------------------------------+-----------------------+
  24. | :ref:`Color<class_Color>` | :ref:`debug_custom_color<class_Path3D_property_debug_custom_color>` | ``Color(0, 0, 0, 1)`` |
  25. +-------------------------------+---------------------------------------------------------------------+-----------------------+
  26. .. rst-class:: classref-section-separator
  27. ----
  28. .. rst-class:: classref-descriptions-group
  29. Signals
  30. -------
  31. .. _class_Path3D_signal_curve_changed:
  32. .. rst-class:: classref-signal
  33. **curve_changed**\ (\ ) :ref:`🔗<class_Path3D_signal_curve_changed>`
  34. Emitted when the :ref:`curve<class_Path3D_property_curve>` changes.
  35. .. rst-class:: classref-item-separator
  36. ----
  37. .. _class_Path3D_signal_debug_color_changed:
  38. .. rst-class:: classref-signal
  39. **debug_color_changed**\ (\ ) :ref:`🔗<class_Path3D_signal_debug_color_changed>`
  40. Emitted when the :ref:`debug_custom_color<class_Path3D_property_debug_custom_color>` changes.
  41. .. rst-class:: classref-section-separator
  42. ----
  43. .. rst-class:: classref-descriptions-group
  44. Property Descriptions
  45. ---------------------
  46. .. _class_Path3D_property_curve:
  47. .. rst-class:: classref-property
  48. :ref:`Curve3D<class_Curve3D>` **curve** :ref:`🔗<class_Path3D_property_curve>`
  49. .. rst-class:: classref-property-setget
  50. - |void| **set_curve**\ (\ value\: :ref:`Curve3D<class_Curve3D>`\ )
  51. - :ref:`Curve3D<class_Curve3D>` **get_curve**\ (\ )
  52. A :ref:`Curve3D<class_Curve3D>` describing the path.
  53. .. rst-class:: classref-item-separator
  54. ----
  55. .. _class_Path3D_property_debug_custom_color:
  56. .. rst-class:: classref-property
  57. :ref:`Color<class_Color>` **debug_custom_color** = ``Color(0, 0, 0, 1)`` :ref:`🔗<class_Path3D_property_debug_custom_color>`
  58. .. rst-class:: classref-property-setget
  59. - |void| **set_debug_custom_color**\ (\ value\: :ref:`Color<class_Color>`\ )
  60. - :ref:`Color<class_Color>` **get_debug_custom_color**\ (\ )
  61. The custom color to use to draw the shape in the editor.
  62. If set to ``Color(0.0, 0.0, 0.0)`` (by default), the color set in EditorSettings is used.
  63. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  64. .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)`
  65. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  66. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  67. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  68. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  69. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  70. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
  71. .. |void| replace:: :abbr:`void (No return value.)`