docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CameraChannel<T>

    A CameraChannel<T> generates supplementary per-pixel ground truth data for the pixel data captured by a CameraSensor.

    Inheritance
    object
    CameraChannelBase
    CameraChannel<T>
    DepthChannel
    InstanceIdChannel
    PixelPositionChannel
    RGBChannel
    RangeChannel
    VertexNormalsChannel
    Inherited Members
    CameraChannelBase.perceptionCamera
    CameraChannelBase.outputTexture
    CameraChannelBase.clearColor
    CameraChannelBase.CreateOutputTexture(int, int)
    CameraChannelBase.Execute(CameraChannelInputs, RenderTexture)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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>>
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)