summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-04-26 14:26:01 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-05-06 02:45:46 +0200
commit87d107bb119d921babcd525577d27b518d4bc4f6 (patch)
treee5e4f7a87b670f8206802f6d472c4363fa67f579 /doc/classes
parent758bccf364729474f8ffbcf15a0bb6e9bad02d9c (diff)
Increase the default AudioStreamPlayer3D unit size to 10
This makes it easier to hear sound while setting up the node. Since this changes the default value, this may break existing projects slightly. This also tweaks the Unit Size editor property hint for better usability. See discussion in #25468.
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/AudioStreamPlayer3D.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/AudioStreamPlayer3D.xml b/doc/classes/AudioStreamPlayer3D.xml
index db46ed2778..a1759bd588 100644
--- a/doc/classes/AudioStreamPlayer3D.xml
+++ b/doc/classes/AudioStreamPlayer3D.xml
@@ -108,7 +108,7 @@
<member name="unit_db" type="float" setter="set_unit_db" getter="get_unit_db" default="0.0">
The base sound level unaffected by dampening, in decibels.
</member>
- <member name="unit_size" type="float" setter="set_unit_size" getter="get_unit_size" default="1.0">
+ <member name="unit_size" type="float" setter="set_unit_size" getter="get_unit_size" default="10.0">
The factor for the attenuation effect. Higher values make the sound audible over a larger distance.
</member>
</members>