{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Struct ColorEntry | App UI | 0.6.5
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ColorEntry

    A struct representing a color entry in a gradient.

    Implements
    IComparable
    IEquatable<ColorEntry>
    Inherited Members
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.AppUI.Core
    Assembly: solution.dll
    Syntax
    public readonly struct ColorEntry : IComparable, IEquatable<ColorEntry>

    Constructors

    Name Description
    ColorEntry(Color, float)

    Creates a new ColorEntry.

    Fields

    Name Description
    color

    The color of the entry.

    position

    The position of the entry in the gradient.

    Methods

    Name Description
    CompareTo(object)

    Compares this ColorEntry to another object.

    Equals(object)

    Determines whether the specified object is equal to the current object.

    Equals(ColorEntry)

    Determines whether the specified object is equal to the current object.

    GetHashCode()

    Serves as the default hash function.

    ToString()

    Returns a string representation of the ColorEntry.

    In This Article
    Back to top
    Copyright © 2023 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)