| 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 | A 2D line segment shape used for physics collision. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | A 2D line segment shape, intended for use in physics. Usually used to provide a shape for a [CollisionShape2D]. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | </tutorials> |
| 11 | <members> |
| 12 | <member name="a" type="Vector2" setter="set_a" getter="get_a" default="Vector2(0, 0)"> |
| 13 | The segment's first point position. |
| 14 | </member> |
| 15 | <member name="b" type="Vector2" setter="set_b" getter="get_b" default="Vector2(0, 10)"> |
| 16 | The segment's second point position. |
| 17 | </member> |
| 18 | </members> |
| 19 | </class> |