summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2017-10-04 18:03:13 +0200
committerGitHub <noreply@github.com>2017-10-04 18:03:13 +0200
commit7c2cda72b859509758f43e60fee6798b6175590b (patch)
tree22e2beca34a4a52cb6f5bdc63bc1bb233897efb6 /doc
parentef08228db738ea731a975c986ccf4da873930fbd (diff)
parent43410ca363da329313bc9ca74882a4409335a306 (diff)
Merge pull request #11816 from terahxluna/video_player_set_stream_position
Add function set_stream_position to VideoPlayer. Closes #8727
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/VideoPlayer.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/classes/VideoPlayer.xml b/doc/classes/VideoPlayer.xml
index 57e417974e..bac7d1e3b0 100644
--- a/doc/classes/VideoPlayer.xml
+++ b/doc/classes/VideoPlayer.xml
@@ -156,6 +156,15 @@
Set the video stream for this player.
</description>
</method>
+ <method name="set_stream_position">
+ <return type="void">
+ </return>
+ <argument index="0" name="position" type="float">
+ </argument>
+ <description>
+ Set the current position of the stream, in seconds.
+ </description>
+ </method>
<method name="set_volume">
<return type="void">
</return>