Print a warning when trying to seek in VideoPlayer

Seeking isn't implemented in built-in video formats and can only
be supported in GDNative-provided video formats.
This commit is contained in:
Hugo Locurcio 2021-04-14 20:39:13 +02:00
parent 9e0f87359b
commit ea46639e22
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
3 changed files with 3 additions and 1 deletions

View file

@ -74,6 +74,7 @@
</member>
<member name="stream_position" type="float" setter="set_stream_position" getter="get_stream_position">
The current position of the stream, in seconds.
[b]Note:[/b] Changing this value won't have any effect as seeking is not implemented yet, except in video formats implemented by a GDNative add-on.
</member>
<member name="volume" type="float" setter="set_volume" getter="get_volume">
Audio volume as a linear value.