SegmentShape2D.xml 786 B

123456789101112131415161718192021222324
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="SegmentShape2D" inherits="Shape2D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  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. <methods>
  12. </methods>
  13. <members>
  14. <member name="a" type="Vector2" setter="set_a" getter="get_a" default="Vector2( 0, 0 )">
  15. The segment's first point position.
  16. </member>
  17. <member name="b" type="Vector2" setter="set_b" getter="get_b" default="Vector2( 0, 10 )">
  18. The segment's second point position.
  19. </member>
  20. </members>
  21. <constants>
  22. </constants>
  23. </class>