Table of Contents

Class CameraTexture

Texture provided by a CameraFeed.

Inheritance
CameraTexture

Remarks

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

camera_feed_id

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

var camera_feed_id : int = 0

Property Value

int

Remarks

  • void set_camera_feed_id(int value)
  • int get_camera_feed_id

camera_is_active

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

var camera_is_active : bool = false

Property Value

bool

Remarks

  • void set_camera_active(bool value)
  • bool get_camera_active

which_feed

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

var which_feed : int = 0

Property Value

int

Remarks

  • void set_which_feed(int value)
  • int get_which_feed