Struct ChunkMeshLayerSettings
Assembly: fwt.hexterrains.dll
Syntax
[Serializable]
public struct ChunkMeshLayerSettings
Fields
HasOverlappingLayer
If true, the layer has an overlapping layer that affects the color map calculation. The overlapping layer should be specified in OverlappingLayerReference.
Declaration
[Tooltip("If true, the layer has an overlapping layer that affects the color map calculation. The overlapping layer should be specified in OverlappingLayerReference.")]
public bool HasOverlappingLayer
Field Value
HeightTresholdForTransparency
Declaration
[Tooltip("If UseHeightTresholdForColormapTransparency is true, the biome color map cells with height below or equal to this value are transparent.")]
public float HeightTresholdForTransparency
Field Value
OverlappingLayerReference
Reference to the overlapping ChunkMesh layer for color calculation.
If set, the color map will paint transparent the cell that is lower than the overlapping layer height.
Declaration
[Tooltip("Reference to the overlapping ChunkMesh layer for color calculation. If set and HasOverlappingLayer is true, the color map will paint transparent the cell that is lower than the overlapping layer height.")]
public HexTerrainLayerReference OverlappingLayerReference
Field Value
UseHeightTresholdForTransparency
Declaration
[Tooltip("If true, the biome color map cells is transparent where height is below or equal to the HeightTresholdForColormapTransparency.")]
public bool UseHeightTresholdForTransparency
Field Value
Properties
Default
Declaration
public static ChunkMeshLayerSettings Default { get; }
Property Value
Extension Methods