docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    PhotosensorToIntensity v2

    The role of this node is to interpret a component of the data incoming from the photosensor into a texture.

    Description

    This node records a command on the command buffer provided by the custom pass context in the InTranscode that converts a raw lidar frame of type StructuredBuffer<PhotosensorRawData> to a 32 bit floating point texture.

    Inputs

    Name Type Description
    FrameHeight uint The vertical frame size.
    Frame StructuredBuffer<PhotosensorRawData> A buffer containing one full sweep from the photosensor.
    InTranscode CustomPassContext The graphic context into which to queue transcoding commands.

    Outputs

    Name Type Description
    Intensity RenderTexture(Format: RFloat) The intensity image for the current frame.
    OutTranscode CustomPassContext The graphic context after queuing the transcoding commands.

    Execution

    Asynchronous. Executes when InTranscode changes.

    Notes

    This node expects that the size of Frame is a multiple of FrameHeight. If this is not the case, the frame is ignored.

    Additional resources

    • Transcoders
    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)