Struct CameraTexture

Texture provided by a CameraFeed.

struct CameraTexture ;

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

NameTypeDescription
cameraFeedId[get, set] longThe ID of the CameraFeed for which we want to display the image.
cameraIsActive[get, set] boolConvenience property that gives access to the active property of the CameraFeed.
whichFeed[get, set] CameraServerSingleton.FeedImageWhich image within the CameraFeed we want access to, important if the camera image is split in a Y and CbCr component.

Methods

NameDescription
getCameraActive
getCameraFeedId
getWhichFeed
setCameraActive
setCameraFeedId
setWhichFeed