class_position2d.rst 1.3 KB

123456789101112131415161718192021222324252627
  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/3.6/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/3.6/doc/classes/Position2D.xml.
  6. .. _class_Position2D:
  7. Position2D
  8. ==========
  9. **Inherits:** :ref:`Node2D<class_Node2D>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  10. Generic 2D position hint for editing.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. 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.
  15. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  16. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  17. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  18. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`