29 #ifndef CAPSULE_SHAPE_2D_H 30 #define CAPSULE_SHAPE_2D_H 32 #include "scene/resources/shape_2d.h" 43 static void _bind_methods();
46 void set_height(real_t p_height);
47 real_t get_height()
const;
49 void set_radius(real_t p_radius);
50 real_t get_radius()
const;
52 virtual void draw(
const RID& p_to_rid,
const Color& p_color);
53 virtual Rect2 get_rect()
const ;
58 #endif // CAPSULE_SHAPE_2D_H Definition: capsule_shape_2d.h:34
Definition: math_2d.h:204
Definition: shape_2d.h:34