29 #ifndef SEGMENT_SHAPE_2D_H 30 #define SEGMENT_SHAPE_2D_H 32 #include "scene/resources/shape_2d.h" 43 static void _bind_methods();
52 virtual void draw(
const RID& p_to_rid,
const Color& p_color);
53 virtual Rect2 get_rect()
const;
68 static void _bind_methods();
71 void set_length(real_t p_length);
72 real_t get_length()
const;
73 virtual void draw(
const RID& p_to_rid,
const Color& p_color);
74 virtual Rect2 get_rect()
const;
80 #endif // SEGMENT_SHAPE_2D_H Definition: segment_shape_2d.h:34
Definition: math_2d.h:204
Definition: shape_2d.h:34
Definition: segment_shape_2d.h:59