Bläddra i källkod

Merge pull request #41507 from skyace65/AudioListener

Mention listener node in AudioStreamPlayer3D description
Rémi Verschelde 5 år sedan
förälder
incheckning
61e6cec02e
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      doc/classes/AudioStreamPlayer3D.xml

+ 1 - 0
doc/classes/AudioStreamPlayer3D.xml

@@ -5,6 +5,7 @@
 	</brief_description>
 	<description>
 		Plays a sound effect with directed sound effects, dampens with distance if needed, generates effect of hearable position in space.
+		By default, audio is heard from the camera position. This can be changed by adding a [Listener3D] node to the scene and enabling it by calling [method Listener3D.make_current] on it.
 	</description>
 	<tutorials>
 		<link>https://docs.godotengine.org/en/latest/tutorials/audio/audio_streams.html</link>