diff options
Diffstat (limited to 'scene/3d/label_3d.h')
-rw-r--r-- | scene/3d/label_3d.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/3d/label_3d.h b/scene/3d/label_3d.h index cbc5c3c649..22a99987ef 100644 --- a/scene/3d/label_3d.h +++ b/scene/3d/label_3d.h @@ -97,6 +97,7 @@ private: int font_size = 16; Ref<Font> font_override; Color modulate = Color(1, 1, 1, 1); + Point2 lbl_offset; int outline_size = 0; Color outline_modulate = Color(0, 0, 0, 1); @@ -199,6 +200,9 @@ public: void set_pixel_size(real_t p_amount); real_t get_pixel_size() const; + void set_offset(const Point2 &p_offset); + Point2 get_offset() const; + void set_draw_flag(DrawFlags p_flag, bool p_enable); bool get_draw_flag(DrawFlags p_flag) const; |