class_segmentshape2d.rst 873 B

123456789101112131415161718192021222324252627282930313233343536
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the SegmentShape2D.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_SegmentShape2D:
  5. SegmentShape2D
  6. ==============
  7. **Inherits:** :ref:`Shape2D<class_shape2d>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Segment shape for 2D collisions.
  12. Member Variables
  13. ----------------
  14. .. _class_SegmentShape2D_a:
  15. - :ref:`Vector2<class_vector2>` **a** - The segment's first point position.
  16. .. _class_SegmentShape2D_b:
  17. - :ref:`Vector2<class_vector2>` **b** - The segment's second point position.
  18. Description
  19. -----------
  20. Segment shape for 2D collisions. Consists of two points, ``a`` and ``b``.