diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-07-01 20:26:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-01 20:26:06 +0200 |
commit | 8c51b8246f6f11cbba75a971af34875ffe2facd0 (patch) | |
tree | 966f5d46add1255fae62116a2ef94e69ab54dea8 /doc | |
parent | d8fe9ad8645494e298ae6b35ecb3162d3e85cf54 (diff) | |
parent | e7315fcc456571c42960b24bde481e04026295b4 (diff) |
Merge pull request #62600 from Calinou/decal-fade-no-negative-values
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Decal.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Decal.xml b/doc/classes/Decal.xml index c0ad61b77e..c38e1d1499 100644 --- a/doc/classes/Decal.xml +++ b/doc/classes/Decal.xml @@ -79,7 +79,7 @@ Sets the size of the [AABB] used by the decal. The AABB goes from [code]-extents[/code] to [code]extents[/code]. </member> <member name="lower_fade" type="float" setter="set_lower_fade" getter="get_lower_fade" default="0.3"> - Sets the curve over which the decal will fade as the surface gets further from the center of the [AABB]. + Sets the curve over which the decal will fade as the surface gets further from the center of the [AABB]. Only positive values are valid (negative values will be clamped to [code]0.0[/code]). </member> <member name="modulate" type="Color" setter="set_modulate" getter="get_modulate" default="Color(1, 1, 1, 1)"> Changes the [Color] of the Decal by multiplying it with this value. @@ -100,7 +100,7 @@ [Texture2D] storing ambient occlusion, roughness, and metallic for the decal. Use this to add extra detail to decals. </member> <member name="upper_fade" type="float" setter="set_upper_fade" getter="get_upper_fade" default="0.3"> - Sets the curve over which the decal will fade as the surface gets further from the center of the [AABB]. + Sets the curve over which the decal will fade as the surface gets further from the center of the [AABB]. Only positive values are valid (negative values will be clamped to [code]0.0[/code]). </member> </members> <constants> |