Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Struct ChunkMeshLayerSettings

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Fwt.HexTerrains.ChunkMehes.Data
    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
    Type Description
    bool

    HeightTresholdForTransparency

    If UseHeightTresholdForTransparency is true, the biome color map cells with height below or equal to this value are transparent.

    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
    Type Description
    float

    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
    Type Description
    HexTerrainLayerReference

    UseHeightTresholdForTransparency

    If true, the biome color map cells is transparent where height is below or equal to the HeightTresholdForTransparency.

    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
    Type Description
    bool

    Properties

    Default

    Declaration
    public static ChunkMeshLayerSettings Default { get; }
    Property Value
    Type Description
    ChunkMeshLayerSettings

    Extension Methods

    HashExtensions.GetHashCode_ValueType<TValue>(TValue, int)
    Extensions_UnityObject.SmartDestroy(object)
    Extensions_UnityObject.SmartGetComponent<TComponent>(object)
    Extensions_UnityObject.SmartGetGameGameObject(object)
    In this article
    Back to top Generated by DocFX