diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-04-30 11:41:50 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-04-30 15:09:30 +0300 |
commit | 0a0e94d9962c01d73544c2b6a9dc3ab3ecf039ab (patch) | |
tree | 6dc6d0453cea223492544ccdc353ba573324e614 /scene/3d/label_3d.h | |
parent | 9b2ba9b8bb6b61487dbccec165d59f84e4e08fda (diff) | |
download | redot-engine-0a0e94d9962c01d73544c2b6a9dc3ab3ecf039ab.tar.gz |
Expose Label3D and Sprite*3D material render priority properties.
Diffstat (limited to 'scene/3d/label_3d.h')
-rw-r--r-- | scene/3d/label_3d.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scene/3d/label_3d.h b/scene/3d/label_3d.h index 22a99987ef..86b8faa617 100644 --- a/scene/3d/label_3d.h +++ b/scene/3d/label_3d.h @@ -98,6 +98,8 @@ private: Ref<Font> font_override; Color modulate = Color(1, 1, 1, 1); Point2 lbl_offset; + int outline_render_priority = -1; + int render_priority = 0; int outline_size = 0; Color outline_modulate = Color(0, 0, 0, 1); @@ -150,6 +152,12 @@ public: void set_vertical_alignment(VerticalAlignment p_alignment); VerticalAlignment get_vertical_alignment() const; + void set_render_priority(int p_priority); + int get_render_priority() const; + + void set_outline_render_priority(int p_priority); + int get_outline_render_priority() const; + void set_text(const String &p_string); String get_text() const; |