Class HexTerrainLayerExtensions
Inheritance
HexTerrainLayerExtensions
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
ApplyHeightmap(CellValueDataLayer<byte>, Texture2D, float, float)
Declaration
public static void ApplyHeightmap(this CellValueDataLayer<byte> values, Texture2D texture, float offset, float scale)
Parameters
ApplyHeightmap(CellValueDataLayer<decimal>, Texture2D, float, float)
Declaration
public static void ApplyHeightmap(this CellValueDataLayer<decimal> values, Texture2D texture, float offset, float scale)
Parameters
ApplyHeightmap(CellValueDataLayer<double>, Texture2D, float, float)
Declaration
public static void ApplyHeightmap(this CellValueDataLayer<double> values, Texture2D texture, float offset, float scale)
Parameters
ApplyHeightmap(CellValueDataLayer<short>, Texture2D, float, float)
Declaration
public static void ApplyHeightmap(this CellValueDataLayer<short> values, Texture2D texture, float offset, float scale)
Parameters
ApplyHeightmap(CellValueDataLayer<int>, Texture2D, float, float)
Declaration
public static void ApplyHeightmap(this CellValueDataLayer<int> values, Texture2D texture, float offset, float scale)
Parameters
ApplyHeightmap(CellValueDataLayer<long>, Texture2D, float, float)
Declaration
public static void ApplyHeightmap(this CellValueDataLayer<long> values, Texture2D texture, float offset, float scale)
Parameters
ApplyHeightmap(CellValueDataLayer<sbyte>, Texture2D, float, float)
Declaration
public static void ApplyHeightmap(this CellValueDataLayer<sbyte> values, Texture2D texture, float offset, float scale)
Parameters
ApplyHeightmap(CellValueDataLayer<float>, Texture2D, float, float)
Declaration
public static void ApplyHeightmap(this CellValueDataLayer<float> values, Texture2D texture, float offset, float scale)
Parameters
ApplyHeightmap(CellValueDataLayer<ushort>, Texture2D, float, float)
Declaration
public static void ApplyHeightmap(this CellValueDataLayer<ushort> values, Texture2D texture, float offset, float scale)
Parameters
ApplyHeightmap(CellValueDataLayer<uint>, Texture2D, float, float)
Declaration
public static void ApplyHeightmap(this CellValueDataLayer<uint> values, Texture2D texture, float offset, float scale)
Parameters
ApplyHeightmap(CellValueDataLayer<ulong>, Texture2D, float, float)
Declaration
public static void ApplyHeightmap(this CellValueDataLayer<ulong> values, Texture2D texture, float offset, float scale)
Parameters
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 Parameters
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
FillWithRandomValues(CellValueDataLayer<byte>, byte, byte)
Declaration
public static void FillWithRandomValues(this CellValueDataLayer<byte> dataLayer, byte minRandomValue, byte maxRandomValue)
Parameters
FillWithRandomValues(CellValueDataLayer<decimal>, decimal, decimal)
Declaration
public static void FillWithRandomValues(this CellValueDataLayer<decimal> dataLayer, decimal minRandomValue, decimal maxRandomValue)
Parameters
FillWithRandomValues(CellValueDataLayer<double>, double, double)
Declaration
public static void FillWithRandomValues(this CellValueDataLayer<double> dataLayer, double minRandomValue, double maxRandomValue)
Parameters
FillWithRandomValues(CellValueDataLayer<short>, short, short)
Declaration
public static void FillWithRandomValues(this CellValueDataLayer<short> dataLayer, short minRandomValue, short maxRandomValue)
Parameters
FillWithRandomValues(CellValueDataLayer<int>, int, int)
Declaration
public static void FillWithRandomValues(this CellValueDataLayer<int> dataLayer, int minRandomValue, int maxRandomValue)
Parameters
FillWithRandomValues(CellValueDataLayer<long>, long, long)
Declaration
public static void FillWithRandomValues(this CellValueDataLayer<long> dataLayer, long minRandomValue, long maxRandomValue)
Parameters
FillWithRandomValues(CellValueDataLayer<sbyte>, sbyte, sbyte)
Declaration
public static void FillWithRandomValues(this CellValueDataLayer<sbyte> dataLayer, sbyte minRandomValue, sbyte maxRandomValue)
Parameters
FillWithRandomValues(CellValueDataLayer<float>, float, float)
Declaration
public static void FillWithRandomValues(this CellValueDataLayer<float> dataLayer, float minRandomValue, float maxRandomValue)
Parameters
FillWithRandomValues(CellValueDataLayer<ushort>, ushort, ushort)
Declaration
public static void FillWithRandomValues(this CellValueDataLayer<ushort> dataLayer, ushort minRandomValue, ushort maxRandomValue)
Parameters
FillWithRandomValues(CellValueDataLayer<uint>, uint, uint)
Declaration
public static void FillWithRandomValues(this CellValueDataLayer<uint> dataLayer, uint minRandomValue, uint maxRandomValue)
Parameters
FillWithRandomValues(CellValueDataLayer<ulong>, ulong, ulong)
Declaration
public static void FillWithRandomValues(this CellValueDataLayer<ulong> dataLayer, ulong minRandomValue, ulong maxRandomValue)
Parameters
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
InitColorMapDataLayer<TValue>(ColorMapCellValueDataLayer<TValue>, IInitColorMapCellValueDataLayerArgs<TValue>)
Declaration
public static void InitColorMapDataLayer<TValue>(this ColorMapCellValueDataLayer<TValue> dataLayer, IInitColorMapCellValueDataLayerArgs<TValue> args) where TValue : unmanaged
Parameters
Type Parameters
InitDataLayer<TValue>(CellValueDataLayer<TValue>, IInitCellValueDataLayerArgs<TValue>)
Declaration
public static void InitDataLayer<TValue>(this CellValueDataLayer<TValue> dataLayer, IInitCellValueDataLayerArgs<TValue> args) where TValue : unmanaged
Parameters
Type Parameters