From eb0cc08a23b2a8d1961c08125a88df63b43eae9b Mon Sep 17 00:00:00 2001 From: Micky Date: Sat, 17 Sep 2022 14:34:43 +0200 Subject: Rename AudioStreamPlayer3D's `unit_db` to `volume_db` AudioStreamPlayer3D.`unit_db` -> `volume_db` Now matches the same name AudioStreamPlayer and AudioStreamPlayer2D use. --- doc/classes/AudioStreamPlayer3D.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/AudioStreamPlayer3D.xml b/doc/classes/AudioStreamPlayer3D.xml index 02192a9b7c..11d6e9cc7a 100644 --- a/doc/classes/AudioStreamPlayer3D.xml +++ b/doc/classes/AudioStreamPlayer3D.xml @@ -7,7 +7,7 @@ Plays a sound effect with directed sound effects, dampens with distance if needed, generates effect of hearable position in space. For greater realism, a low-pass filter is automatically applied to distant sounds. This can be disabled by setting [member attenuation_filter_cutoff_hz] to [code]20500[/code]. By default, audio is heard from the camera position. This can be changed by adding an [AudioListener3D] node to the scene and enabling it by calling [method AudioListener3D.make_current] on it. See also [AudioStreamPlayer] to play a sound non-positionally. - [b]Note:[/b] Hiding an [AudioStreamPlayer3D] node does not disable its audio output. To temporarily disable an [AudioStreamPlayer3D]'s audio output, set [member unit_db] to a very low value like [code]-100[/code] (which isn't audible to human hearing). + [b]Note:[/b] Hiding an [AudioStreamPlayer3D] node does not disable its audio output. To temporarily disable an [AudioStreamPlayer3D]'s audio output, set [member volume_db] to a very low value like [code]-100[/code] (which isn't audible to human hearing). $DOCS_URL/tutorials/audio/audio_streams.html @@ -102,12 +102,12 @@ If [code]true[/code], the playback is paused. You can resume it by setting [member stream_paused] to [code]false[/code]. - - The base sound level unaffected by dampening, in decibels. - The factor for the attenuation effect. Higher values make the sound audible over a larger distance. + + The base sound level unaffected by dampening, in decibels. + -- cgit v1.2.3