docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct WaterSpectrumParameters

    Structure that holds all the data that allows us to define the water spectrum.

    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    public struct WaterSpectrumParameters

    Methods

    Equals(object)

    Returns true if the WaterSpectrumParameters is equal to a given WaterSpectrumParameters, false otherwise.

    Declaration
    public override bool Equals(object o)
    Parameters
    Type Name Description
    object o

    Right hand side argument to compare equality with.

    Returns
    Type Description
    bool

    The result of the equality comparison.

    Overrides
    ValueType.Equals(object)

    GetHashCode()

    Get an appropriate hash value for this NPath.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash value for this NPath.

    Overrides
    ValueType.GetHashCode()

    Operators

    operator ==(WaterSpectrumParameters, WaterSpectrumParameters)

    Compare two WaterSpectrumParameters for equality.

    Declaration
    public static bool operator ==(WaterSpectrumParameters a, WaterSpectrumParameters b)
    Parameters
    Type Name Description
    WaterSpectrumParameters a

    The first WaterSpectrumParameters to compare.

    WaterSpectrumParameters b

    The second WaterSpectrumParameters to compare.

    Returns
    Type Description
    bool

    True if the WaterSpectrumParameters are both equal (or both null), false otherwise.

    operator !=(WaterSpectrumParameters, WaterSpectrumParameters)

    Compare two WaterSpectrumParameters for inequality.

    Declaration
    public static bool operator !=(WaterSpectrumParameters a, WaterSpectrumParameters b)
    Parameters
    Type Name Description
    WaterSpectrumParameters a

    The first WaterSpectrumParameters to compare.

    WaterSpectrumParameters b

    The second WaterSpectrumParameters to compare.

    Returns
    Type Description
    bool

    True if the WaterSpectrumParameters are not equal, false otherwise.

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