Class reference

CameraTexture

Inherits Texture2D

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

int camera_feed_id = 0

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.

bool resource_local_to_scene = false

int 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.

Source revision 5592dc3a7a61
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.