Class CameraChannel<T>
A CameraChannel<T> generates supplementary per-pixel ground truth data for the pixel data captured by a CameraSensor.
Inherited Members
Namespace: UnityEngine.Perception.GroundTruth.Sensors.Channels
Assembly: Unity.Perception.Runtime.dll
Syntax
[MovedFrom("UnityEngine.Perception.GroundTruth")]
public abstract class CameraChannel<T> : CameraChannelBase where T : unmanaged
Type Parameters
Name | Description |
---|---|
T | The struct format for the data captured at each pixel of this channel's output texture. |
Events
outputTextureReadback
Invoked when the channel's output texture is readback during frame capture. The first parameter is the frameCount of the captured frame. The second parameter is the pixel data from the channel's output texture that was readback from the GPU.
Declaration
public event Action<int, NativeArray<T>> outputTextureReadback
Event Type
Type | Description |
---|---|
Action<int, NativeArray<T>> |