Struct CreateHexSurfaceRequestArgs
Args for request to create a surface data.
Inherited Members
Namespace: Fwt.HexTerrains.Surfaces.Data
Assembly: fwt.hexterrains.dll
Syntax
public struct CreateHexSurfaceRequestArgs
Fields
AutoCellBiomeLevels
The levels of the biomes to be calculated based on the cell height. Index = biome ID, value = max height level for this biome.
Declaration
public FixedArray8<int> AutoCellBiomeLevels
Field Value
| Type | Description |
|---|---|
| FixedArray8<int> |
ColorMapTextureIndex
Which index of all ColorTextures to fill with colors of this surface (biomes).
Declaration
public int ColorMapTextureIndex
Field Value
| Type | Description |
|---|---|
| int |
FillBiomesMapValue
The value to fill the biomes map with (if IsFillBiomesMap) is on.
Declaration
public byte FillBiomesMapValue
Field Value
| Type | Description |
|---|---|
| byte |
FillHeightmapValue
The value to fill the heightmap with (if IsFillHeightmap) is on.
Declaration
public byte FillHeightmapValue
Field Value
| Type | Description |
|---|---|
| byte |
Heightmap
The heightmap texture to apply (if IsApplyHeightmap is on).
Declaration
public UnityObjectRef<Texture2D> Heightmap
Field Value
| Type | Description |
|---|---|
| UnityObjectRef<Texture2D> |
HeightmapOffset
This value will be added to all the heightmap values (if IsApplyHeightmap is on).
Declaration
public int HeightmapOffset
Field Value
| Type | Description |
|---|---|
| int |
HeightmapScale
Every value from Heightmap texture will be multiplied by this value (if IsApplyHeightmap is on).
Declaration
public float HeightmapScale
Field Value
| Type | Description |
|---|---|
| float |
IsApplyHeightmap
Whether to apply a heightmap texture.
Declaration
public bool IsApplyHeightmap
Field Value
| Type | Description |
|---|---|
| bool |
IsAutoCellBiomes
Whether to calculate biomes based on the cell height
Declaration
public bool IsAutoCellBiomes
Field Value
| Type | Description |
|---|---|
| bool |
IsFillBiomesMap
Whether to fill the biomes map with a specific value.
Declaration
public bool IsFillBiomesMap
Field Value
| Type | Description |
|---|---|
| bool |
IsFillHeightmap
Whether to fill the heightmap with a specific value.
Declaration
public bool IsFillHeightmap
Field Value
| Type | Description |
|---|---|
| bool |
IsRandomBiomesMap
Whether to fill a biomes map with random values.
Declaration
public bool IsRandomBiomesMap
Field Value
| Type | Description |
|---|---|
| bool |
IsRandomHeightmap
Whether to generate a random heightmap.
Declaration
public bool IsRandomHeightmap
Field Value
| Type | Description |
|---|---|
| bool |
MaxRandomBiome
The maximum value for the random biomes.
Declaration
public int MaxRandomBiome
Field Value
| Type | Description |
|---|---|
| int |
MaxRandomHeight
The maximum value for the random heightmap.
Declaration
public int MaxRandomHeight
Field Value
| Type | Description |
|---|---|
| int |
MinRandomBiome
The minimum value for the random biomes.
Declaration
public int MinRandomBiome
Field Value
| Type | Description |
|---|---|
| int |
MinRandomHeight
The minimum value for the random heightmap.
Declaration
public int MinRandomHeight
Field Value
| Type | Description |
|---|---|
| int |