Struct SegmentShape2D

Segment shape for 2D collisions.

struct SegmentShape2D ;

Consists of two points, a and b.

Properties

NameTypeDescription
a[get, set] Vector2The segment's first point position.
b[get, set] Vector2The segment's second point position.

Methods

NameDescription
getA
getB
setA
setB