docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PhotosensorTranscoder

    The PhotosensorTranscoder is a specialized transcoder used when doing data processing on the output of the photosensor. Most of the photosensor transcoders will pack or format samples measured by the photosensor in a way that correspond to what a device API/firmware would do.

    Every time it receives an inTranscode signal, it reads the output buffer of the photosensor and fills its output buffer according to the format selected by the developer.

    Inheritance
    object
    NodeRuntime
    Transcoder
    PhotosensorTranscoder
    PhotosensorToIntensityBufferV2
    PhotosensorToPointCloudV2
    PhotosensorToTextureV2
    Inherited Members
    Transcoder.inTranscode
    Transcoder.outTranscode
    Transcoder._computeShader
    Transcoder.Transcode(CustomPassContext)
    Transcoder.EnableInterfaceOnChangeEvent()
    Transcoder.DisableInterfaceOnChangeEvent()
    Transcoder.InitializeSensorSDKComputeShader(string, string)
    Transcoder.Release()
    NodeRuntime._parent
    NodeRuntime._portList
    NodeRuntime._queryPath
    NodeRuntime._tickCPUTimeNs
    NodeRuntime.Initialize(SystemGraphComponent)
    NodeRuntime.InternalInitialize()
    NodeRuntime.Start()
    NodeRuntime.Enable(Scheduler.ClockState)
    NodeRuntime.Disable()
    NodeRuntime.OnTick(double, double, Scheduler.ClockState, Scheduler.Signal)
    NodeRuntime.Update()
    NodeRuntime.FixedUpdate()
    NodeRuntime.OnPortAdded(string, Type, string, PortDirection, FieldExtra, ref IPortType)
    NodeRuntime.OnPortRemoved(string)
    NodeRuntime.InitializeDynamicPorts(SystemGraphComponent)
    NodeRuntime.QueryPath
    NodeRuntime.TickCPUTimeNs
    NodeRuntime.PortDataList
    Namespace: Mechatronics.SensorSDK
    Assembly: solution.dll
    Syntax
    public abstract class PhotosensorTranscoder : Transcoder

    Fields

    Name Description
    frame

    Properties

    Name Description
    SampleCountPerFrame

    The number of samples (pixels, for images) per output frame.

    Methods

    Name Description
    InitializeSensorSDKShaderKernel(string)

    Load PhotosensorTranscoders.compute and find the kernel corresponding to the string given.

    IsValidForTranscode()

    Confirms if the input frame and the compute shader are valid, to be invoked before execution.

    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)