summaryrefslogtreecommitdiff
path: root/doc/classes/CameraTexture.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/CameraTexture.xml')
-rw-r--r--doc/classes/CameraTexture.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/classes/CameraTexture.xml b/doc/classes/CameraTexture.xml
index 02f7f8bf58..15da46885f 100644
--- a/doc/classes/CameraTexture.xml
+++ b/doc/classes/CameraTexture.xml
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="CameraTexture" inherits="Texture" category="Core" version="3.2">
<brief_description>
- This texture gives access to the camera texture provided by a [CameraFeed]. Note that many cameras supply YCbCr images which need to be converted in a shader.
+ 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.
</brief_description>
<description>
</description>
@@ -10,13 +11,13 @@
<methods>
</methods>
<members>
- <member name="camera_feed_id" type="int" setter="set_camera_feed_id" getter="get_camera_feed_id">
- Id of the [CameraFeed] for which we want to display the image.
+ <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">
+ <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="which_feed" type="int" setter="set_which_feed" getter="get_which_feed" enum="CameraServer.FeedImage">
+ <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>