mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Add classes ref generated by makerst.py
This commit is contained in:
157
classes/class_videoplayer.rst
Normal file
157
classes/class_videoplayer.rst
Normal file
@@ -0,0 +1,157 @@
|
||||
.. _class_VideoPlayer:
|
||||
|
||||
VideoPlayer
|
||||
===========
|
||||
|
||||
Inherits: :ref:`Control<class_control>`
|
||||
---------------------------------------
|
||||
|
||||
Category: Core
|
||||
--------------
|
||||
|
||||
Brief Description
|
||||
-----------------
|
||||
|
||||
|
||||
|
||||
Member Functions
|
||||
----------------
|
||||
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_stream<class_VideoPlayer_set_stream>` **(** Stream stream **)** |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| Stream | :ref:`get_stream<class_VideoPlayer_get_stream>` **(** **)** const |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`play<class_VideoPlayer_play>` **(** **)** |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`stop<class_VideoPlayer_stop>` **(** **)** |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`is_playing<class_VideoPlayer_is_playing>` **(** **)** const |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_paused<class_VideoPlayer_set_paused>` **(** :ref:`bool<class_bool>` paused **)** |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`is_paused<class_VideoPlayer_is_paused>` **(** **)** const |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_volume<class_VideoPlayer_set_volume>` **(** :ref:`float<class_float>` volume **)** |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`float<class_float>` | :ref:`get_volume<class_VideoPlayer_get_volume>` **(** **)** const |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_volume_db<class_VideoPlayer_set_volume_db>` **(** :ref:`float<class_float>` db **)** |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`float<class_float>` | :ref:`get_volume_db<class_VideoPlayer_get_volume_db>` **(** **)** const |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_audio_track<class_VideoPlayer_set_audio_track>` **(** :ref:`int<class_int>` track **)** |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_audio_track<class_VideoPlayer_get_audio_track>` **(** **)** const |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`String<class_string>` | :ref:`get_stream_name<class_VideoPlayer_get_stream_name>` **(** **)** const |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`float<class_float>` | :ref:`get_stream_pos<class_VideoPlayer_get_stream_pos>` **(** **)** const |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_autoplay<class_VideoPlayer_set_autoplay>` **(** :ref:`bool<class_bool>` enabled **)** |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`has_autoplay<class_VideoPlayer_has_autoplay>` **(** **)** const |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_expand<class_VideoPlayer_set_expand>` **(** :ref:`bool<class_bool>` enable **)** |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`has_expand<class_VideoPlayer_has_expand>` **(** **)** const |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_buffering_msec<class_VideoPlayer_set_buffering_msec>` **(** :ref:`int<class_int>` msec **)** |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_buffering_msec<class_VideoPlayer_get_buffering_msec>` **(** **)** const |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Texture<class_texture>` | :ref:`get_video_texutre<class_VideoPlayer_get_video_texutre>` **(** **)** |
|
||||
+--------------------------------+----------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Member Function Description
|
||||
---------------------------
|
||||
|
||||
.. _class_VideoPlayer_set_stream:
|
||||
|
||||
- void **set_stream** **(** Stream stream **)**
|
||||
|
||||
.. _class_VideoPlayer_get_stream:
|
||||
|
||||
- Stream **get_stream** **(** **)** const
|
||||
|
||||
.. _class_VideoPlayer_play:
|
||||
|
||||
- void **play** **(** **)**
|
||||
|
||||
.. _class_VideoPlayer_stop:
|
||||
|
||||
- void **stop** **(** **)**
|
||||
|
||||
.. _class_VideoPlayer_is_playing:
|
||||
|
||||
- :ref:`bool<class_bool>` **is_playing** **(** **)** const
|
||||
|
||||
.. _class_VideoPlayer_set_paused:
|
||||
|
||||
- void **set_paused** **(** :ref:`bool<class_bool>` paused **)**
|
||||
|
||||
.. _class_VideoPlayer_is_paused:
|
||||
|
||||
- :ref:`bool<class_bool>` **is_paused** **(** **)** const
|
||||
|
||||
.. _class_VideoPlayer_set_volume:
|
||||
|
||||
- void **set_volume** **(** :ref:`float<class_float>` volume **)**
|
||||
|
||||
.. _class_VideoPlayer_get_volume:
|
||||
|
||||
- :ref:`float<class_float>` **get_volume** **(** **)** const
|
||||
|
||||
.. _class_VideoPlayer_set_volume_db:
|
||||
|
||||
- void **set_volume_db** **(** :ref:`float<class_float>` db **)**
|
||||
|
||||
.. _class_VideoPlayer_get_volume_db:
|
||||
|
||||
- :ref:`float<class_float>` **get_volume_db** **(** **)** const
|
||||
|
||||
.. _class_VideoPlayer_set_audio_track:
|
||||
|
||||
- void **set_audio_track** **(** :ref:`int<class_int>` track **)**
|
||||
|
||||
.. _class_VideoPlayer_get_audio_track:
|
||||
|
||||
- :ref:`int<class_int>` **get_audio_track** **(** **)** const
|
||||
|
||||
.. _class_VideoPlayer_get_stream_name:
|
||||
|
||||
- :ref:`String<class_string>` **get_stream_name** **(** **)** const
|
||||
|
||||
.. _class_VideoPlayer_get_stream_pos:
|
||||
|
||||
- :ref:`float<class_float>` **get_stream_pos** **(** **)** const
|
||||
|
||||
.. _class_VideoPlayer_set_autoplay:
|
||||
|
||||
- void **set_autoplay** **(** :ref:`bool<class_bool>` enabled **)**
|
||||
|
||||
.. _class_VideoPlayer_has_autoplay:
|
||||
|
||||
- :ref:`bool<class_bool>` **has_autoplay** **(** **)** const
|
||||
|
||||
.. _class_VideoPlayer_set_expand:
|
||||
|
||||
- void **set_expand** **(** :ref:`bool<class_bool>` enable **)**
|
||||
|
||||
.. _class_VideoPlayer_has_expand:
|
||||
|
||||
- :ref:`bool<class_bool>` **has_expand** **(** **)** const
|
||||
|
||||
.. _class_VideoPlayer_set_buffering_msec:
|
||||
|
||||
- void **set_buffering_msec** **(** :ref:`int<class_int>` msec **)**
|
||||
|
||||
.. _class_VideoPlayer_get_buffering_msec:
|
||||
|
||||
- :ref:`int<class_int>` **get_buffering_msec** **(** **)** const
|
||||
|
||||
.. _class_VideoPlayer_get_video_texutre:
|
||||
|
||||
- :ref:`Texture<class_texture>` **get_video_texutre** **(** **)**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user