docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct SphericalHarmonicsL1

    Structure holding Spherical Harmonic L1 coefficient.

    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    [Serializable]
    public struct SphericalHarmonicsL1

    Fields

    Name Description
    shAb

    Blue channel of each of the three L1 SH coefficient.

    shAg

    Green channel of each of the three L1 SH coefficient.

    shAr

    Red channel of each of the three L1 SH coefficient.

    zero

    A set of L1 coefficients initialized to zero.

    Methods

    Name Description
    Equals(object)

    Compare this SphericalHarmonicsL1 with an object.

    GetHashCode()

    Produces an hash code of the SphericalHarmonicsL1.

    Operators

    Name Description
    operator +(SphericalHarmonicsL1, SphericalHarmonicsL1)

    Sum two SphericalHarmonicsL1.

    operator /(SphericalHarmonicsL1, float)

    Divide two SphericalHarmonicsL1.

    operator ==(SphericalHarmonicsL1, SphericalHarmonicsL1)

    Compare two SphericalHarmonicsL1.

    operator !=(SphericalHarmonicsL1, SphericalHarmonicsL1)

    Check two SphericalHarmonicsL1 inequality.

    operator *(SphericalHarmonicsL1, float)

    Multiply two SphericalHarmonicsL1.

    operator -(SphericalHarmonicsL1, SphericalHarmonicsL1)

    Subtract two SphericalHarmonicsL1.

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    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)