Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Interface IVisualChunkMeshLayerConfig

    Defines a configuration for the rendering and visual properties for a chunk mesh layer in a hex terrain system.

    Inherited Members
    IChunkMeshLayerConfig.AutoPaintBiomesLevels
    IChunkMeshLayerConfig.AutoPaintBiomesOffset
    IChunkMeshLayerConfig.BiomeMapArgs
    IChunkMeshLayerConfig.HeightMapArgs
    IChunkMeshLayerConfig.TransparencyMapArgs
    IChunkMeshLayerConfig.IsAutoPaintBiomes
    IChunkMeshLayerConfig.ChunkMeshLayerSettings
    IChunkMeshLayerConfig.SyncHeightMapLayerReference
    IChunkMeshLayerConfig.SyncBiomeMapLayerReference
    IChunkMeshLayerConfig.SyncTransparencyMapLayerReference
    Namespace: Fwt.HexTerrains.ChunkMehes.Data
    Assembly: fwt.hexterrains.dll
    Syntax
    public interface IVisualChunkMeshLayerConfig : IChunkMeshLayerConfig

    Properties

    BiomeUVConfigs

    Gets an enumerable collection of biome UV configuration objects for the chunk mesh.

    Declaration
    IEnumerable<ChunkMeshBiomeUVConfig> BiomeUVConfigs { get; }
    Property Value
    Type Description
    IEnumerable<ChunkMeshBiomeUVConfig>

    BiomeUvs

    UVs for the hex surface biomes. In standard case the UV index = biome index. Used if IsUseBiomeAtlas is true.

    Declaration
    List<Sprite> BiomeUvs { get; set; }
    Property Value
    Type Description
    List<Sprite>

    DefaultRenderConfig

    If there is no render config for the view mode found, this config will be used as a fallback.

    Declaration
    HexSurfaceRenderConfigAsset DefaultRenderConfig { get; set; }
    Property Value
    Type Description
    HexSurfaceRenderConfigAsset

    IsVisible

    If true, the layer will be rendered.

    Declaration
    bool IsVisible { get; set; }
    Property Value
    Type Description
    bool

    RenderConfigs

    Render configurations for the surface layer. Used to get materials and params like IsCastShadows, IsReceive Shadows, etc. Index of the config in this list corresponds to the view mode of the terrain. When the view mode == 0, the first config will be used, when view mode == 1, the second config will be used, etc.

    Declaration
    List<HexSurfaceRenderConfigAsset> RenderConfigs { get; set; }
    Property Value
    Type Description
    List<HexSurfaceRenderConfigAsset>

    RenderSettings

    Contains settings for rendering chunk meshes.

    Declaration
    ChunkMeshRenderSettings RenderSettings { get; set; }
    Property Value
    Type Description
    ChunkMeshRenderSettings

    Methods

    CreateTerrainLayer()

    Declaration
    HexTerrainLayer CreateTerrainLayer()
    Returns
    Type Description
    HexTerrainLayer

    Extension Methods

    HashExtensions.GetHashCode_RefType<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