Struct SegmentShape2D
Segment shape for 2D collisions.
struct SegmentShape2D
;
Properties
Name | Type | Description |
---|---|---|
a [get, set]
|
Vector2 | The segment's first point position. |
b [get, set]
|
Vector2 | The segment's second point position. |
Methods
Name | Description |
---|---|
getA
|
|
getB
|
|
setA
|
|
setB
|