File: CameraTexture.xml

package info (click to toggle)
godot 3.6%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 270,588 kB
  • sloc: cpp: 971,579; ansic: 617,953; xml: 80,302; asm: 17,498; cs: 14,559; python: 11,744; java: 9,681; javascript: 4,654; pascal: 1,176; sh: 896; objc: 529; makefile: 176
file content (28 lines) | stat: -rw-r--r-- 1,370 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8" ?>
<class name="CameraTexture" inherits="Texture" version="3.6" 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>
	<methods>
	</methods>
	<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="flags" type="int" setter="set_flags" getter="get_flags" overrides="Texture" default="0" />
		<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>
	<constants>
	</constants>
</class>