From 0babf9cd0cf58d9f86624864b98db0128aecf307 Mon Sep 17 00:00:00 2001 From: Grosskopf Date: Sat, 16 Sep 2017 19:31:43 +0200 Subject: Added Documentation of AudioStreamPlayer2D Fixxed according to comments Somehow that fix was messed up again Forgot some quotationmarks updated autoplay, tried again --- doc/classes/AudioStreamPlayer2D.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/classes/AudioStreamPlayer2D.xml b/doc/classes/AudioStreamPlayer2D.xml index f2464ddac4..e31f2dd941 100644 --- a/doc/classes/AudioStreamPlayer2D.xml +++ b/doc/classes/AudioStreamPlayer2D.xml @@ -1,10 +1,13 @@ + Plays audio in 2D. + Plays audio that dampens with distance from screen center. + http://docs.godotengine.org/en/latest/learning/features/audio/index.html @@ -69,6 +72,7 @@ + Plays the audio from the given position 'from_pos', in seconds. @@ -77,6 +81,7 @@ + Sets the position from which audio will be played, in seconds. @@ -139,30 +144,40 @@ + Stops the audio. + Areas in which this sound plays. + Dampens audio over distance with this as an exponent. + If [code]true[/code], audio plays when added to scene tree. Default value: [code]false[/code]. + Bus on which this audio is playing. + Maximum distance from which audio is still hearable. + If [code]true[/code], audio is playing. + The [AudioStream] object to be played. + Base volume without dampening. + Emitted when the audio stops playing. -- cgit v1.2.3