docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Subscribe

    Subscribe(ExecuteSamplingAction)

    Attaches a photosensor to the camera custom pass volume on the BeforePostProcess. It will invoke "ExecuteSampling" callback to execute the scene sampling.

    Declaration
    public static bool Subscribe(PathtracedPhotosensors.ExecuteSamplingAction ExecuteSampling)
    Parameters
    Type Name Description
    PathtracedPhotosensors.ExecuteSamplingAction ExecuteSampling

    Callback function to execute the photosensor sampling.

    Returns
    Type Description
    bool

    true if the photosensor callback has been registered.

    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)