class_path.rst 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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_Path:
  4. Path
  5. ====
  6. **Inherits:** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Container for a :ref:`Curve3D<class_curve3d>`.
  11. Member Functions
  12. ----------------
  13. +--------------------------------+------------------------------------------------------------------------------------------+
  14. | :ref:`Curve3D<class_curve3d>` | :ref:`get_curve<class_Path_get_curve>` **(** **)** const |
  15. +--------------------------------+------------------------------------------------------------------------------------------+
  16. | void | :ref:`set_curve<class_Path_set_curve>` **(** :ref:`Curve3D<class_curve3d>` curve **)** |
  17. +--------------------------------+------------------------------------------------------------------------------------------+
  18. Description
  19. -----------
  20. This class is a container/Node-ification of a :ref:`Curve3D<class_curve3d>`, so it can have :ref:`Spatial<class_spatial>` properties and :ref:`Node<class_node>` info.
  21. Member Function Description
  22. ---------------------------
  23. .. _class_Path_get_curve:
  24. - :ref:`Curve3D<class_curve3d>` **get_curve** **(** **)** const
  25. Returns the :ref:`Curve3D<class_curve3d>` contained.
  26. .. _class_Path_set_curve:
  27. - void **set_curve** **(** :ref:`Curve3D<class_curve3d>` curve **)**
  28. Sets the :ref:`Curve3D<class_curve3d>`.