SegmentShape2D.xml 683 B

12345678910111213141516171819202122232425
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="SegmentShape2D" inherits="Shape2D" category="Core" version="3.1">
  3. <brief_description>
  4. Segment shape for 2D collisions.
  5. </brief_description>
  6. <description>
  7. Segment shape for 2D collisions. Consists of two points, [code]a[/code] and [code]b[/code].
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <demos>
  12. </demos>
  13. <methods>
  14. </methods>
  15. <members>
  16. <member name="a" type="Vector2" setter="set_a" getter="get_a">
  17. The segment's first point position.
  18. </member>
  19. <member name="b" type="Vector2" setter="set_b" getter="get_b">
  20. The segment's second point position.
  21. </member>
  22. </members>
  23. <constants>
  24. </constants>
  25. </class>