Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Class HexTerrainUtils

    Inheritance
    object
    HexTerrainUtils
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Fwt.HexTerrains.Data
    Assembly: fwt.hexterrains.dll
    Syntax
    public static class HexTerrainUtils

    Methods

    GenerateBasicColorPalette(int, IList<Color32>, bool)

    Generates a color palette with distinct colors. If firstColorTransparent is true, the first color in the palette will be transparent.

    Declaration
    public static IList<Color32> GenerateBasicColorPalette(int colorsCount, IList<Color32> colorMap = null, bool firstColorTransparent = false)
    Parameters
    Type Name Description
    int colorsCount

    Amount of colors to generate

    IList<Color32> colorMap

    fills this list and returns it (if set). If null is passed, creates a new list as result

    bool firstColorTransparent

    if true, the first color in colormap will be transparent

    Returns
    Type Description
    IList<Color32>
    In this article
    Back to top Generated by DocFX