summaryrefslogtreecommitdiff
path: root/doc/classes/CameraTexture.xml
blob: 7477be7825b2506b3145a43cbf00ab890bb4ad67 (plain)
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
<?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. 
	</brief_description>
	<description>
	</description>
	<tutorials>
	</tutorials>
	<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>
		<member name="camera_is_active" type="bool" setter="set_camera_active" getter="get_camera_active">
			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">
			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>