29 #ifndef RECTANGLE_SHAPE_2D_H 30 #define RECTANGLE_SHAPE_2D_H 32 #include "scene/resources/shape_2d.h" 41 static void _bind_methods();
44 void set_extents(
const Vector2& p_extents);
47 virtual void draw(
const RID& p_to_rid,
const Color& p_color);
48 virtual Rect2 get_rect()
const ;
53 #endif // RECTANGLE_SHAPE_2D_H
Definition: rectangle_shape_2d.h:34
Definition: math_2d.h:204
Definition: shape_2d.h:34