docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct GradientPair

    Gradient pair container class

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.EditorXR.Helpers
    Assembly: solution.dll
    Syntax
    [Serializable]
    public struct GradientPair

    Constructors

    Name Description
    GradientPair(Color, Color)

    Initialize a new GradientPair

    Fields

    Name Description
    a

    First color in the gradient pair

    b

    Second color in the gradient pair

    Methods

    Name Description
    Lerp(GradientPair, GradientPair, float)

    Provide for lerping between two gradient pairs

    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)