Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Class HexTerrainLayerExtensions

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

    Methods

    ApplyHeightmap(CellValueDataLayer<bool>, Texture2D, float, float)

    Declaration
    public static void ApplyHeightmap(this CellValueDataLayer<bool> values, Texture2D texture, float offset, float scale)
    Parameters
    Type Name Description
    CellValueDataLayer<bool> values
    Texture2D texture
    float offset
    float scale

    ApplyHeightmap(CellValueDataLayer<byte>, Texture2D, float, float)

    Declaration
    public static void ApplyHeightmap(this CellValueDataLayer<byte> values, Texture2D texture, float offset, float scale)
    Parameters
    Type Name Description
    CellValueDataLayer<byte> values
    Texture2D texture
    float offset
    float scale

    ApplyHeightmap(CellValueDataLayer<decimal>, Texture2D, float, float)

    Declaration
    public static void ApplyHeightmap(this CellValueDataLayer<decimal> values, Texture2D texture, float offset, float scale)
    Parameters
    Type Name Description
    CellValueDataLayer<decimal> values
    Texture2D texture
    float offset
    float scale

    ApplyHeightmap(CellValueDataLayer<double>, Texture2D, float, float)

    Declaration
    public static void ApplyHeightmap(this CellValueDataLayer<double> values, Texture2D texture, float offset, float scale)
    Parameters
    Type Name Description
    CellValueDataLayer<double> values
    Texture2D texture
    float offset
    float scale

    ApplyHeightmap(CellValueDataLayer<short>, Texture2D, float, float)

    Declaration
    public static void ApplyHeightmap(this CellValueDataLayer<short> values, Texture2D texture, float offset, float scale)
    Parameters
    Type Name Description
    CellValueDataLayer<short> values
    Texture2D texture
    float offset
    float scale

    ApplyHeightmap(CellValueDataLayer<int>, Texture2D, float, float)

    Declaration
    public static void ApplyHeightmap(this CellValueDataLayer<int> values, Texture2D texture, float offset, float scale)
    Parameters
    Type Name Description
    CellValueDataLayer<int> values
    Texture2D texture
    float offset
    float scale

    ApplyHeightmap(CellValueDataLayer<long>, Texture2D, float, float)

    Declaration
    public static void ApplyHeightmap(this CellValueDataLayer<long> values, Texture2D texture, float offset, float scale)
    Parameters
    Type Name Description
    CellValueDataLayer<long> values
    Texture2D texture
    float offset
    float scale

    ApplyHeightmap(CellValueDataLayer<sbyte>, Texture2D, float, float)

    Declaration
    public static void ApplyHeightmap(this CellValueDataLayer<sbyte> values, Texture2D texture, float offset, float scale)
    Parameters
    Type Name Description
    CellValueDataLayer<sbyte> values
    Texture2D texture
    float offset
    float scale

    ApplyHeightmap(CellValueDataLayer<float>, Texture2D, float, float)

    Declaration
    public static void ApplyHeightmap(this CellValueDataLayer<float> values, Texture2D texture, float offset, float scale)
    Parameters
    Type Name Description
    CellValueDataLayer<float> values
    Texture2D texture
    float offset
    float scale

    ApplyHeightmap(CellValueDataLayer<ushort>, Texture2D, float, float)

    Declaration
    public static void ApplyHeightmap(this CellValueDataLayer<ushort> values, Texture2D texture, float offset, float scale)
    Parameters
    Type Name Description
    CellValueDataLayer<ushort> values
    Texture2D texture
    float offset
    float scale

    ApplyHeightmap(CellValueDataLayer<uint>, Texture2D, float, float)

    Declaration
    public static void ApplyHeightmap(this CellValueDataLayer<uint> values, Texture2D texture, float offset, float scale)
    Parameters
    Type Name Description
    CellValueDataLayer<uint> values
    Texture2D texture
    float offset
    float scale

    ApplyHeightmap(CellValueDataLayer<ulong>, Texture2D, float, float)

    Declaration
    public static void ApplyHeightmap(this CellValueDataLayer<ulong> values, Texture2D texture, float offset, float scale)
    Parameters
    Type Name Description
    CellValueDataLayer<ulong> values
    Texture2D texture
    float offset
    float scale

    ApplyHeightmap<TValue>(CellValueDataLayer<TValue>, Texture2D, float, float)

    Declaration
    public static void ApplyHeightmap<TValue>(this CellValueDataLayer<TValue> values, Texture2D texture, float offset, float scale) where TValue : unmanaged
    Parameters
    Type Name Description
    CellValueDataLayer<TValue> values
    Texture2D texture
    float offset
    float scale
    Type Parameters
    Name Description
    TValue

    AutoFillColorPalette(IList<Color32>, int, bool)

    Declaration
    public static void AutoFillColorPalette(this IList<Color32> colorPalette, int count, bool isFirstColorTransparent)
    Parameters
    Type Name Description
    IList<Color32> colorPalette
    int count
    bool isFirstColorTransparent

    AutoFillColorPalette(IList<Color32>, int, bool, int)

    Declaration
    public static void AutoFillColorPalette(this IList<Color32> colorPalette, int count, bool isFirstColorTransparent, int colorsPerCircle = 7)
    Parameters
    Type Name Description
    IList<Color32> colorPalette
    int count
    bool isFirstColorTransparent
    int colorsPerCircle

    FillWithRandomValues(CellValueDataLayer<bool>, bool, bool)

    Declaration
    public static void FillWithRandomValues(this CellValueDataLayer<bool> dataLayer, bool minRandomValue, bool maxRandomValue)
    Parameters
    Type Name Description
    CellValueDataLayer<bool> dataLayer
    bool minRandomValue
    bool maxRandomValue

    FillWithRandomValues(CellValueDataLayer<byte>, byte, byte)

    Declaration
    public static void FillWithRandomValues(this CellValueDataLayer<byte> dataLayer, byte minRandomValue, byte maxRandomValue)
    Parameters
    Type Name Description
    CellValueDataLayer<byte> dataLayer
    byte minRandomValue
    byte maxRandomValue

    FillWithRandomValues(CellValueDataLayer<decimal>, decimal, decimal)

    Declaration
    public static void FillWithRandomValues(this CellValueDataLayer<decimal> dataLayer, decimal minRandomValue, decimal maxRandomValue)
    Parameters
    Type Name Description
    CellValueDataLayer<decimal> dataLayer
    decimal minRandomValue
    decimal maxRandomValue

    FillWithRandomValues(CellValueDataLayer<double>, double, double)

    Declaration
    public static void FillWithRandomValues(this CellValueDataLayer<double> dataLayer, double minRandomValue, double maxRandomValue)
    Parameters
    Type Name Description
    CellValueDataLayer<double> dataLayer
    double minRandomValue
    double maxRandomValue

    FillWithRandomValues(CellValueDataLayer<short>, short, short)

    Declaration
    public static void FillWithRandomValues(this CellValueDataLayer<short> dataLayer, short minRandomValue, short maxRandomValue)
    Parameters
    Type Name Description
    CellValueDataLayer<short> dataLayer
    short minRandomValue
    short maxRandomValue

    FillWithRandomValues(CellValueDataLayer<int>, int, int)

    Declaration
    public static void FillWithRandomValues(this CellValueDataLayer<int> dataLayer, int minRandomValue, int maxRandomValue)
    Parameters
    Type Name Description
    CellValueDataLayer<int> dataLayer
    int minRandomValue
    int maxRandomValue

    FillWithRandomValues(CellValueDataLayer<long>, long, long)

    Declaration
    public static void FillWithRandomValues(this CellValueDataLayer<long> dataLayer, long minRandomValue, long maxRandomValue)
    Parameters
    Type Name Description
    CellValueDataLayer<long> dataLayer
    long minRandomValue
    long maxRandomValue

    FillWithRandomValues(CellValueDataLayer<sbyte>, sbyte, sbyte)

    Declaration
    public static void FillWithRandomValues(this CellValueDataLayer<sbyte> dataLayer, sbyte minRandomValue, sbyte maxRandomValue)
    Parameters
    Type Name Description
    CellValueDataLayer<sbyte> dataLayer
    sbyte minRandomValue
    sbyte maxRandomValue

    FillWithRandomValues(CellValueDataLayer<float>, float, float)

    Declaration
    public static void FillWithRandomValues(this CellValueDataLayer<float> dataLayer, float minRandomValue, float maxRandomValue)
    Parameters
    Type Name Description
    CellValueDataLayer<float> dataLayer
    float minRandomValue
    float maxRandomValue

    FillWithRandomValues(CellValueDataLayer<ushort>, ushort, ushort)

    Declaration
    public static void FillWithRandomValues(this CellValueDataLayer<ushort> dataLayer, ushort minRandomValue, ushort maxRandomValue)
    Parameters
    Type Name Description
    CellValueDataLayer<ushort> dataLayer
    ushort minRandomValue
    ushort maxRandomValue

    FillWithRandomValues(CellValueDataLayer<uint>, uint, uint)

    Declaration
    public static void FillWithRandomValues(this CellValueDataLayer<uint> dataLayer, uint minRandomValue, uint maxRandomValue)
    Parameters
    Type Name Description
    CellValueDataLayer<uint> dataLayer
    uint minRandomValue
    uint maxRandomValue

    FillWithRandomValues(CellValueDataLayer<ulong>, ulong, ulong)

    Declaration
    public static void FillWithRandomValues(this CellValueDataLayer<ulong> dataLayer, ulong minRandomValue, ulong maxRandomValue)
    Parameters
    Type Name Description
    CellValueDataLayer<ulong> dataLayer
    ulong minRandomValue
    ulong maxRandomValue

    FillWithRandomValues(CellValueDataLayer<float2>, float2, float2)

    Declaration
    public static void FillWithRandomValues(this CellValueDataLayer<float2> dataLayer, float2 minRandomValue, float2 maxRandomValue)
    Parameters
    Type Name Description
    CellValueDataLayer<float2> dataLayer
    float2 minRandomValue
    float2 maxRandomValue

    FillWithRandomValues(CellValueDataLayer<float3>, float3, float3)

    Declaration
    public static void FillWithRandomValues(this CellValueDataLayer<float3> dataLayer, float3 minRandomValue, float3 maxRandomValue)
    Parameters
    Type Name Description
    CellValueDataLayer<float3> dataLayer
    float3 minRandomValue
    float3 maxRandomValue

    FillWithRandomValues(CellValueDataLayer<float4>, float4, float4)

    Declaration
    public static void FillWithRandomValues(this CellValueDataLayer<float4> dataLayer, float4 minRandomValue, float4 maxRandomValue)
    Parameters
    Type Name Description
    CellValueDataLayer<float4> dataLayer
    float4 minRandomValue
    float4 maxRandomValue

    FillWithRandomValues(CellValueDataLayer<int2>, int2, int2)

    Declaration
    public static void FillWithRandomValues(this CellValueDataLayer<int2> dataLayer, int2 minRandomValue, int2 maxRandomValue)
    Parameters
    Type Name Description
    CellValueDataLayer<int2> dataLayer
    int2 minRandomValue
    int2 maxRandomValue

    FillWithRandomValues(CellValueDataLayer<int3>, int3, int3)

    Declaration
    public static void FillWithRandomValues(this CellValueDataLayer<int3> dataLayer, int3 minRandomValue, int3 maxRandomValue)
    Parameters
    Type Name Description
    CellValueDataLayer<int3> dataLayer
    int3 minRandomValue
    int3 maxRandomValue

    FillWithRandomValues(CellValueDataLayer<int4>, int4, int4)

    Declaration
    public static void FillWithRandomValues(this CellValueDataLayer<int4> dataLayer, int4 minRandomValue, int4 maxRandomValue)
    Parameters
    Type Name Description
    CellValueDataLayer<int4> dataLayer
    int4 minRandomValue
    int4 maxRandomValue

    FillWithRandomValues(CellValueDataLayer<quaternion>, quaternion, quaternion)

    Declaration
    public static void FillWithRandomValues(this CellValueDataLayer<quaternion> dataLayer, quaternion minRandomValue, quaternion maxRandomValue)
    Parameters
    Type Name Description
    CellValueDataLayer<quaternion> dataLayer
    quaternion minRandomValue
    quaternion maxRandomValue

    FillWithRandomValues<TValue>(CellValueDataLayer<TValue>, TValue, TValue)

    Declaration
    public static void FillWithRandomValues<TValue>(this CellValueDataLayer<TValue> dataLayer, TValue minRandomValue, TValue maxRandomValue) where TValue : unmanaged
    Parameters
    Type Name Description
    CellValueDataLayer<TValue> dataLayer
    TValue minRandomValue
    TValue maxRandomValue
    Type Parameters
    Name Description
    TValue

    InitColorMapDataLayer<TValue>(ColorMapCellValueDataLayer<TValue>, IInitColorMapCellValueDataLayerArgs<TValue>)

    Declaration
    public static void InitColorMapDataLayer<TValue>(this ColorMapCellValueDataLayer<TValue> dataLayer, IInitColorMapCellValueDataLayerArgs<TValue> args) where TValue : unmanaged
    Parameters
    Type Name Description
    ColorMapCellValueDataLayer<TValue> dataLayer
    IInitColorMapCellValueDataLayerArgs<TValue> args
    Type Parameters
    Name Description
    TValue

    InitDataLayer<TValue>(CellValueDataLayer<TValue>, IInitCellValueDataLayerArgs<TValue>)

    Declaration
    public static void InitDataLayer<TValue>(this CellValueDataLayer<TValue> dataLayer, IInitCellValueDataLayerArgs<TValue> args) where TValue : unmanaged
    Parameters
    Type Name Description
    CellValueDataLayer<TValue> dataLayer
    IInitCellValueDataLayerArgs<TValue> args
    Type Parameters
    Name Description
    TValue
    In this article
    Back to top Generated by DocFX