Files
godot-docs-l10n/classes/uk/class_videostream.rst
Rémi Verschelde c3f2364c10 Sync classref with 4.6 branch
Lots of translations invalidated (fuzzied) as we just synced Weblate.
2025-12-19 16:39:51 +01:00

104 lines
4.8 KiB
ReStructuredText
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

:github_url: hide
.. _class_VideoStream:
VideoStream
===========
**Успадковує:** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
**Успадковано від:** :ref:`VideoStreamTheora<class_VideoStreamTheora>`
Базовий ресурс для відео потоків.
.. rst-class:: classref-introduction-group
Опис
--------
Базовий тип ресурсів для всіх потокових відео. Класи, які подаються з **VideoStream** можуть використовуватися як типи ресурсів, щоб грати назад відео в :ref:`VideoStreamPlayer<class_VideoStreamPlayer>`.
.. rst-class:: classref-introduction-group
Посібники
------------------
- :doc:`Грати відео <../tutorials/animation/playing_videos>`
- :doc:`Завантаження та збереження файлів під час виконання <../tutorials/io/runtime_file_loading_and_saving>`
.. rst-class:: classref-reftable-group
Властивості
----------------------
.. table::
:widths: auto
+-----------------------------+----------------------------------------------+--------+
| :ref:`String<class_String>` | :ref:`file<class_VideoStream_property_file>` | ``""`` |
+-----------------------------+----------------------------------------------+--------+
.. rst-class:: classref-reftable-group
Методи
------------
.. table::
:widths: auto
+-------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+
| :ref:`VideoStreamPlayback<class_VideoStreamPlayback>` | :ref:`_instantiate_playback<class_VideoStream_private_method__instantiate_playback>`\ (\ ) |virtual| |required| |
+-------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+
.. rst-class:: classref-section-separator
----
.. rst-class:: classref-descriptions-group
Описи властивостей
------------------------------------
.. _class_VideoStream_property_file:
.. rst-class:: classref-property
:ref:`String<class_String>` **file** = ``""`` :ref:`🔗<class_VideoStream_property_file>`
.. rst-class:: classref-property-setget
- |void| **set_file**\ (\ value\: :ref:`String<class_String>`\ )
- :ref:`String<class_String>` **get_file**\ (\ )
Відео шлях або URI, що це **VideoStream** ресурсні ручки.
Для :ref:`VideoStreamTheora<class_VideoStreamTheora>` цей файл має бути Ogg Theora відео файл з розширенням ``.ogv``.
.. rst-class:: classref-section-separator
----
.. rst-class:: classref-descriptions-group
Описи методів
--------------------------
.. _class_VideoStream_private_method__instantiate_playback:
.. rst-class:: classref-method
:ref:`VideoStreamPlayback<class_VideoStreamPlayback>` **_instantiate_playback**\ (\ ) |virtual| |required| :ref:`🔗<class_VideoStream_private_method__instantiate_playback>`
Зателефонуйте, коли відео запускається грати, щоб ініціалізації та повернути підклас :ref:`VideoStreamPlayback<class_VideoStreamPlayback>`.
.. |virtual| replace:: :abbr:`virtual (Зазвичай, цей метод перевизначається користувачем, щоб він мав вплив.)`
.. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)`
.. |const| replace:: :abbr:`const (Цей метод не має побічних ефектів. Не змінює ніяку змінну екземпляра об'єкта.)`
.. |vararg| replace:: :abbr:`vararg (Цей метод приймає будь-яке число аргументів після описаних тут.)`
.. |constructor| replace:: :abbr:`constructor (Цей метод використовується для побудови типів.)`
.. |static| replace:: :abbr:`static (Цей метод не потребує екземпляра для виклику, його можна викликати безпосередньо за допомогою назви класу.)`
.. |operator| replace:: :abbr:`operator (Цей метод описує дійсний оператор для взаємодії з цим типом як з лівим операндом.)`
.. |bitfield| replace:: :abbr:`BitField (Це значення є цілим числом, складеним у вигляді бітової маски з наступних прапорів.)`
.. |void| replace:: :abbr:`void (Значення не повертається.)`