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
Name | Type | Description |
---|---|---|
cameraFeedId [get, set]
|
long | The ID of the CameraFeed for which we want to display the image.
|
cameraIsActive [get, set]
|
bool | Convenience property that gives access to the active property of the CameraFeed .
|
whichFeed [get, set]
|
CameraServerSingleton | Which image within the CameraFeed we want access to, important if the camera image is split in a Y and CbCr component.
|
Methods
Name | Description |
---|---|
getCameraActive
|
|
getCameraFeedId
|
|
getWhichFeed
|
|
setCameraActive
|
|
setCameraFeedId
|
|
setWhichFeed
|