CameraTexture

Inherits: Texture < Resource < Reference < 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.

Property Descriptions

  • int camera_feed_id
Default0
Setterset_camera_feed_id(value)
Getterget_camera_feed_id()

The ID of the CameraFeed for which we want to display the image.


  • bool camera_is_active
Defaultfalse
Setterset_camera_active(value)
Getterget_camera_active()

Convenience property that gives access to the active property of the CameraFeed.


Default0
Setterset_which_feed(value)
Getterget_which_feed()

Which image within the CameraFeed we want access to, important if the camera image is split in a Y and CbCr component.

Doc ID missing

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 1970-01-01 at 00:00:00. It’s the English Stable version because it’s what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.