docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor SHCoefficients

    SHCoefficients(SphericalHarmonicsL2)

    Construct an instance of SHCoefficients that represents the same spherical harmonic coefficients as the parameter.

    Declaration
    public SHCoefficients(SphericalHarmonicsL2 sh)
    Parameters
    Type Name Description
    SphericalHarmonicsL2 sh

    The spherical harmonic coefficients to initialize with.

    SHCoefficients(SphericalHarmonicsL2, Vector4)

    Construct an instance of SHCoefficients that represents the same spherical harmonic coefficients as the parameter.

    Declaration
    public SHCoefficients(SphericalHarmonicsL2 sh, Vector4 probesOcclusion)
    Parameters
    Type Name Description
    SphericalHarmonicsL2 sh

    The spherical harmonic coefficients to initialize with.

    Vector4 probesOcclusion

    The baked shadowing data to include with this set of spherical harmonic coefficients.

    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)