docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor CustomRendererSampler

    CustomRendererSampler(GameObject, IPhotosensorArrayDescription, LensSystemDesc, SceneSamplerDesc, Action<ScriptableRenderContext, HDCamera>)

    Constructs a sampler that bypasses HDRP and defines its own rendering process.

    Declaration
    public CustomRendererSampler(GameObject parent, IPhotosensorArrayDescription sensorDesc, LensSystemDesc lensSystem, SceneSamplerDesc samplerDesc, Action<ScriptableRenderContext, HDCamera> callback)
    Parameters
    Type Name Description
    GameObject parent

    The gameobject corresponding to the component using this. Used to instantiate a unity camera to execute the sampling.

    IPhotosensorArrayDescription sensorDesc

    Information defined on the photosensor array node.

    LensSystemDesc lensSystem

    Information defined on the lens component.

    SceneSamplerDesc samplerDesc

    Extra parameters for the sampler.

    Action<ScriptableRenderContext, HDCamera> callback

    Function to invoke when the sampling is completed.

    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)