Sync classref with current source

Changes order of brief/long descriptions and removes category
as per godotengine/godot#35132.
This commit is contained in:
Rémi Verschelde
2020-01-15 00:51:47 +01:00
parent 251518c54d
commit 2b4319bc29
654 changed files with 5953 additions and 8315 deletions
+14 -15
View File
@@ -11,13 +11,18 @@ AudioStreamPlayer2D
**Inherits:** :ref:`Node2D<class_Node2D>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
**Category:** Core
Brief Description
-----------------
Plays audio in 2D.
Description
-----------
Plays audio that dampens with distance from screen center.
Tutorials
---------
- :doc:`../tutorials/audio/audio_streams`
Properties
----------
@@ -67,16 +72,6 @@ Signals
Emitted when the audio stops playing.
Description
-----------
Plays audio that dampens with distance from screen center.
Tutorials
---------
- :doc:`../tutorials/audio/audio_streams`
Property Descriptions
---------------------
@@ -216,6 +211,8 @@ The :ref:`AudioStream<class_AudioStream>` object to be played.
| *Getter* | get_stream_paused() |
+-----------+--------------------------+
If ``true``, the playback is paused. You can resume it by setting ``stream_paused`` to ``false``.
----
.. _class_AudioStreamPlayer2D_property_volume_db:
@@ -247,6 +244,8 @@ Returns the position in the :ref:`AudioStream<class_AudioStream>`.
- :ref:`AudioStreamPlayback<class_AudioStreamPlayback>` **get_stream_playback** **(** **)**
Returns the :ref:`AudioStreamPlayback<class_AudioStreamPlayback>` object associated with this ``AudioStreamPlayer2D``.
----
.. _class_AudioStreamPlayer2D_method_play: