docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RetrieveProbeSH

    RetrieveProbeSH(int, out SphericalHarmonicsL2, out Vector3)

    Retrieve the result of a capture request, it will return false if the request has not been fulfilled yet or the request ID is invalid.

    Declaration
    public bool RetrieveProbeSH(int probeInstanceID, out SphericalHarmonicsL2 sh, out Vector3 pos)
    Parameters
    Type Name Description
    int probeInstanceID

    The instance ID of the probe doing the request.

    SphericalHarmonicsL2 sh

    The output SH coefficients that have been computed.

    Vector3 pos

    The position for which the computed SH coefficients are valid.

    Returns
    Type Description
    bool

    Whether the request for light probe rendering has been fulfilled and sh is valid.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)