CameraTexture
Inherits: Texture2D < Texture < Resource < RefCounted < Object
Description
Section titled “Description”Texture provided by a CameraFeed.
This texture gives access to the camera texture provided by a CameraFeed.
Note: Many cameras supply YCbCr images which need to be converted in a shader.
Properties
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| int | camera_feed_id |
0 |
| bool | camera_is_active |
false |
| bool | resource_local_to_scene |
false (overrides Resource) |
| CameraSystem.FeedImage | which_feed |
0 |
Property descriptions
Section titled “Property descriptions”camera_feed_id
int camera_feed_id = 0
The ID of the CameraFeed for which we want to display the image.
camera_is_active
bool camera_is_active = false
Convenience property that gives access to the active property of the CameraFeed.
which_feed
CameraSystem.FeedImage which_feed = 0
Which image within the CameraFeed we want access to, important if the camera image is split in a Y and CbCr component.
