docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetL2

    GetL2(SphericalHarmonicsL2, out Vector3, out Vector3, out Vector3, out Vector3, out Vector3)

    Returns all the L2 coefficients.

    Declaration
    public static void GetL2(SphericalHarmonicsL2 sh, out Vector3 L2_0, out Vector3 L2_1, out Vector3 L2_2, out Vector3 L2_3, out Vector3 L2_4)
    Parameters
    Type Name Description
    SphericalHarmonicsL2 sh

    The SphericalHarmonicsL2 data structure to use to query the information.

    Vector3 L2_0

    The first coefficient for the L2 band.

    Vector3 L2_1

    The second coefficient for the L2 band.

    Vector3 L2_2

    The third coefficient for the L2 band.

    Vector3 L2_3

    The fourth coefficient for the L2 band.

    Vector3 L2_4

    The fifth coefficient for the L2 band.

    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)