class_position2d.rst 1.1 KB

123456789101112131415161718192021222324
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the Position2D.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_Position2D:
  6. Position2D
  7. ==========
  8. **Inherits:** :ref:`Node2D<class_Node2D>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  9. Generic 2D position hint for editing.
  10. Description
  11. -----------
  12. Generic 2D position hint for editing. It's just like a plain :ref:`Node2D<class_Node2D>`, but it displays as a cross in the 2D editor at all times. You can set cross' visual size by using the gizmo in the 2D editor while the node is selected.
  13. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  14. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  15. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`