SegmentShape2D¶
Inherits: Shape2D < Resource < Reference < Object
Category: Core
Brief Description¶
Segment Shape for 2D Collision Detection.
Member Functions¶
Vector2 | get_a ( ) const |
Vector2 | get_b ( ) const |
void | set_a ( Vector2 a ) |
void | set_b ( Vector2 b ) |
Description¶
Segment Shape for 2D Collision Detection, consists of two points, ‘a’ and ‘b’.