Quellcode durchsuchen

Mention listener node in AudioStreamPlayer3D description

skyace65 vor 5 Jahren
Ursprung
Commit
51367c1bcf
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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>