docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AsyncSampleScene

    AsyncSampleScene(Action<CustomPassContext, RenderTexture>)

    Used to capture the projected image on the sensor.

    Declaration
    public override void AsyncSampleScene(Action<CustomPassContext, RenderTexture> callback)
    Parameters
    Type Name Description
    Action<CustomPassContext, RenderTexture> callback

    A function to call when the capture is ready.

    Overrides
    SceneSampler.AsyncSampleScene(Action<CustomPassContext, RenderTexture>)
    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)