diff options
Diffstat (limited to 'scene/2d/light_2d.h')
| -rw-r--r-- | scene/2d/light_2d.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/2d/light_2d.h b/scene/2d/light_2d.h index 9b09d54dd..90e55aeda 100644 --- a/scene/2d/light_2d.h +++ b/scene/2d/light_2d.h @@ -69,6 +69,7 @@ private: int item_mask; int item_shadow_mask; int shadow_buffer_size; + float shadow_smooth; float shadow_gradient_length; Mode mode; Ref<Texture> texture; @@ -146,6 +147,9 @@ public: void set_shadow_color(const Color &p_shadow_color); Color get_shadow_color() const; + void set_shadow_smooth(float p_amount); + float get_shadow_smooth() const; + virtual Rect2 get_item_rect() const; String get_configuration_warning() const; |
