mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 10:30:26 +08:00
81064cc239
We don't use that info for anything, and it generates unnecessary diffs every time we bump the minor version (and CI failures if we forget to sync some files from opt-in modules (mono, text_server_fb).
25 lines
1.3 KiB
XML
25 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="CameraTexture" inherits="Texture2D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
Texture provided by a [CameraFeed].
|
|
</brief_description>
|
|
<description>
|
|
This texture gives access to the camera texture provided by a [CameraFeed].
|
|
[b]Note:[/b] Many cameras supply YCbCr images which need to be converted in a shader.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<members>
|
|
<member name="camera_feed_id" type="int" setter="set_camera_feed_id" getter="get_camera_feed_id" default="0">
|
|
The ID of the [CameraFeed] for which we want to display the image.
|
|
</member>
|
|
<member name="camera_is_active" type="bool" setter="set_camera_active" getter="get_camera_active" default="false">
|
|
Convenience property that gives access to the active property of the [CameraFeed].
|
|
</member>
|
|
<member name="resource_local_to_scene" type="bool" setter="set_local_to_scene" getter="is_local_to_scene" overrides="Resource" default="false" />
|
|
<member name="which_feed" type="int" setter="set_which_feed" getter="get_which_feed" enum="CameraServer.FeedImage" default="0">
|
|
Which image within the [CameraFeed] we want access to, important if the camera image is split in a Y and CbCr component.
|
|
</member>
|
|
</members>
|
|
</class>
|