summaryrefslogtreecommitdiff
path: root/doc/classes/AudioStreamPlayer2D.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/AudioStreamPlayer2D.xml')
-rw-r--r--doc/classes/AudioStreamPlayer2D.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/AudioStreamPlayer2D.xml b/doc/classes/AudioStreamPlayer2D.xml
index e31f2dd941..68afffdb41 100644
--- a/doc/classes/AudioStreamPlayer2D.xml
+++ b/doc/classes/AudioStreamPlayer2D.xml
@@ -36,7 +36,7 @@
<description>
</description>
</method>
- <method name="get_pos">
+ <method name="get_position">
<return type="float">
</return>
<description>
@@ -69,16 +69,16 @@
<method name="play">
<return type="void">
</return>
- <argument index="0" name="from_pos" type="float" default="0.0">
+ <argument index="0" name="from_position" type="float" default="0.0">
</argument>
<description>
- Plays the audio from the given position 'from_pos', in seconds.
+ Plays the audio from the given position 'from_position', in seconds.
</description>
</method>
<method name="seek">
<return type="void">
</return>
- <argument index="0" name="to_pos" type="float">
+ <argument index="0" name="to_position" type="float">
</argument>
<description>
Sets the position from which audio will be played, in seconds.