Class ColorPalette | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ColorPalette

    Inheritance
    System.Object
    ColorPalette
    Namespace: UIWidgets.Tests.demo_charts
    Syntax
    public class ColorPalette

    Constructors

    ColorPalette(List<Color>)

    Declaration
    public ColorPalette(List<Color> colors)
    Parameters
    Type Name Description
    System.Collections.Generic.List<Color> colors

    Fields

    primary

    Declaration
    public static readonly ColorPalette primary
    Field Value
    Type Description
    ColorPalette

    Properties

    Item[Int32]

    Declaration
    public Color this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    Color

    length

    Declaration
    public int length { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    random()

    Declaration
    public Color random()
    Returns
    Type Description
    Color
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023