classref: Sync with current master branch (e65a237)

This commit is contained in:
Godot Organization
2024-11-09 03:21:03 +00:00
parent 8daa3af406
commit bc67ddf32b
15 changed files with 729 additions and 76 deletions
+36
View File
@@ -56,6 +56,10 @@ Methods
+---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`FeedPosition<enum_CameraFeed_FeedPosition>` | :ref:`get_position<class_CameraFeed_method_get_position>`\ (\ ) |const| |
+---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`get_texture_tex_id<class_CameraFeed_method_get_texture_tex_id>`\ (\ feed_image_type\: :ref:`FeedImage<enum_CameraServer_FeedImage>`\ ) |
+---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| |void| | :ref:`set_external<class_CameraFeed_method_set_external>`\ (\ width\: :ref:`int<class_int>`, height\: :ref:`int<class_int>`\ ) |
+---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`set_format<class_CameraFeed_method_set_format>`\ (\ index\: :ref:`int<class_int>`, parameters\: :ref:`Dictionary<class_Dictionary>`\ ) |
+---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| |void| | :ref:`set_name<class_CameraFeed_method_set_name>`\ (\ name\: :ref:`String<class_String>`\ ) |
@@ -143,6 +147,14 @@ Feed supplies YCbCr images that need to be converted to RGB.
Feed supplies separate Y and CbCr images that need to be combined and converted to RGB.
.. _class_CameraFeed_constant_FEED_EXTERNAL:
.. rst-class:: classref-enumeration-constant
:ref:`FeedDataType<enum_CameraFeed_FeedDataType>` **FEED_EXTERNAL** = ``4``
Feed supplies external image.
.. rst-class:: classref-item-separator
----
@@ -289,6 +301,30 @@ Returns the position of camera on the device.
----
.. _class_CameraFeed_method_get_texture_tex_id:
.. rst-class:: classref-method
:ref:`int<class_int>` **get_texture_tex_id**\ (\ feed_image_type\: :ref:`FeedImage<enum_CameraServer_FeedImage>`\ ) :ref:`🔗<class_CameraFeed_method_get_texture_tex_id>`
Returns the texture backend ID (usable by some external libraries that need a handle to a texture to write data).
.. rst-class:: classref-item-separator
----
.. _class_CameraFeed_method_set_external:
.. rst-class:: classref-method
|void| **set_external**\ (\ width\: :ref:`int<class_int>`, height\: :ref:`int<class_int>`\ ) :ref:`🔗<class_CameraFeed_method_set_external>`
Sets the feed as external feed provided by another library.
.. rst-class:: classref-item-separator
----
.. _class_CameraFeed_method_set_format:
.. rst-class:: classref-method