docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Evaluate

    Evaluate(HDProbe)

    Evaluates a probe and gets the texture size to use for baking.

    Declaration
    public int Evaluate(HDProbe probe)
    Parameters
    Type Name Description
    HDProbe probe

    The probe to get the texture size for.

    Returns
    Type Description
    int

    Returns the size of the texture to use for the bake.

    Exceptions
    Type Condition
    ArgumentNullException

    When probe is null and the mode UseProbeResolution is used.

    ArgumentOutOfRangeException

    When mode has an invalid value.

    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)