diff options
Diffstat (limited to 'scene/3d/decal.h')
-rw-r--r-- | scene/3d/decal.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scene/3d/decal.h b/scene/3d/decal.h index d5990272c6..ab39350b75 100644 --- a/scene/3d/decal.h +++ b/scene/3d/decal.h @@ -57,15 +57,15 @@ private: real_t upper_fade = 0.3; real_t lower_fade = 0.3; bool distance_fade_enabled = false; - real_t distance_fade_begin = 10.0; - real_t distance_fade_length = 1.0; + real_t distance_fade_begin = 40.0; + real_t distance_fade_length = 10.0; protected: static void _bind_methods(); - void _validate_property(PropertyInfo &property) const override; + void _validate_property(PropertyInfo &p_property) const; public: - virtual TypedArray<String> get_configuration_warnings() const override; + virtual PackedStringArray get_configuration_warnings() const override; void set_extents(const Vector3 &p_extents); Vector3 get_extents() const; |