docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PhotosensorToIntensityBufferV2

    The role of this class is to interpret the data incoming from the photosensor into an intensity buffer. The internal shader does extract the intensity information and format it into a compute buffer according to the frame information.

    Inheritance
    object
    NodeRuntime
    Transcoder
    PhotosensorTranscoder
    PhotosensorToIntensityBufferV2
    Inherited Members
    PhotosensorTranscoder.frame
    PhotosensorTranscoder.SampleCountPerFrame
    PhotosensorTranscoder.InitializeSensorSDKShaderKernel(string)
    PhotosensorTranscoder.IsValidForTranscode()
    Transcoder.inTranscode
    Transcoder.outTranscode
    Transcoder._computeShader
    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.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
    [NodeCategory("Photosensor Transcoder", "PhotosensorToIntensityBuffer v2", NodeTick.Asynchronous, (LifeCycle)0, 0, NodeMode.Standard, false)]
    [HelpURL("https://docs.unity3d.com/Packages/com.unity.sensorsdk@2.1/manual/NodeReference/PhotosensorTranscoder/PhotosensorToIntensityBuffer.html")]
    public class PhotosensorToIntensityBufferV2 : PhotosensorTranscoder

    Fields

    Name Description
    _intensity

    A frame of sampled intensity values.

    intensity

    Methods

    Name Description
    Disable()

    Disable the change event on the input render texture and release the graphic resources.

    Enable(ClockState)

    Enable the change event on the input render texture and initialize the compute shader.

    Transcode(CustomPassContext)

    Convert the photosensor sampling data into an intensity buffer.

    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)