Up to date
This page is up to date for Redot 4.3
.
If you still find outdated information, please create an issue.
CameraTexture¶
Inherits: Texture2D < Texture < Resource < RefCounted < Object
Texture provided by a CameraFeed.
Description¶
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¶
|
||
|
||
resource_local_to_scene |
|
|
|
Property Descriptions¶
The ID of the CameraFeed for which we want to display the image.
bool camera_is_active = false
🔗
Convenience property that gives access to the active property of the CameraFeed.
Which image within the CameraFeed we want access to, important if the camera image is split in a Y and CbCr component.