29 #ifndef SHAPE_LINE_2D_H 30 #define SHAPE_LINE_2D_H 32 #include "scene/resources/shape_2d.h" 43 static void _bind_methods();
46 void set_normal(
const Vector2& p_normal);
47 void set_d(real_t p_d);
52 virtual void draw(
const RID& p_to_rid,
const Color& p_color);
53 virtual Rect2 get_rect()
const;
58 #endif // SHAPE_LINE_2D_H
Definition: math_2d.h:204
Definition: shape_2d.h:34
Definition: shape_line_2d.h:34