summaryrefslogtreecommitdiff
path: root/scene/3d/decal.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/decal.h')
-rw-r--r--scene/3d/decal.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/scene/3d/decal.h b/scene/3d/decal.h
index 740dd2c407..1a7d55b108 100644
--- a/scene/3d/decal.h
+++ b/scene/3d/decal.h
@@ -57,12 +57,12 @@ 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;
@@ -104,7 +104,6 @@ public:
uint32_t get_cull_mask() const;
virtual AABB get_aabb() const override;
- virtual Vector<Face3> get_faces(uint32_t p_usage_flags) const override;
Decal();
~Decal();