Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Interface ICellObjectLayerConfig

    Inherited Members
    ICellItemLayerConfig.CellItemTransformSettings
    ICellItemLayerConfig.SurfaceLayerReference
    ICellItemLayerConfig.OverlapSurfaceLayerReference
    ICellItemLayerConfig.CellItemIndexArgs
    ICellItemLayerConfig.CellItemStateArgs
    ICellItemLayerConfig.CellItemLocalPositionArgs
    ICellItemLayerConfig.CellItemLocalRotationArgs
    ICellItemLayerConfig.CellItemLocalScaleArgs
    Namespace: Fwt.HexTerrains.CellObjects.Data
    Assembly: fwt.hexterrains.dll
    Syntax
    public interface ICellObjectLayerConfig : ICellItemLayerConfig

    Properties

    BakedStatesLODSettings

    Baked LOD settings for cell objects. All LOD settings are baked from the LODDistances list during baking process.

    Declaration
    List<CellObjectLODSettings> BakedStatesLODSettings { get; set; }
    Property Value
    Type Description
    List<CellObjectLODSettings>

    BakedVisualItemSettings

    Baked visual item settings for cell objects. All visual item settings are baked from the ObjectConfigs list during baking process.

    Declaration
    List<CellObjectVisualItemSettings> BakedVisualItemSettings { get; set; }
    Property Value
    Type Description
    List<CellObjectVisualItemSettings>

    BulkRenderer

    RenderEntitiesConfig that holds meshes, materials, and everything needed for rendering using Graphics.DrawMeshInstanced.

    Declaration
    IBulkRenderer BulkRenderer { get; set; }
    Property Value
    Type Description
    IBulkRenderer

    CellItemPrefabs

    List of cell object config authorings. While baking data from this list is taken to be extract one cell object from one ObjectConfigAuthoring.

    Declaration
    List<CellObjectConfigAuthoring> CellItemPrefabs { get; set; }
    Property Value
    Type Description
    List<CellObjectConfigAuthoring>

    LODSettings

    List of LOD settings for cell objects in this layer. Set MinDistance and MaxDistance for each LOD so they don't overlap and don't have gaps. This settings apply to all cell objects in the layer.

    Declaration
    List<CellObjectLayerLODSettings> LODSettings { get; set; }
    Property Value
    Type Description
    List<CellObjectLayerLODSettings>

    LODsCount

    Number of LODs defined for this layer.

    Declaration
    int LODsCount { get; }
    Property Value
    Type Description
    int

    MaxSubmeshesPerCell

    Maximum number of submeshes per cell. Meaning the CellObject can contain maximum this amount of submeshes.

    Declaration
    int MaxSubmeshesPerCell { get; set; }
    Property Value
    Type Description
    int

    StatesCountPerItem

    Number of states per cell item. Used to calculate the amount of memory to allocate for cell item states.

    Declaration
    int StatesCountPerItem { get; set; }
    Property Value
    Type Description
    int

    Methods

    GetObjectStatesLODSettings()

    Returns the list of LOD settings for cell object states in this layer.

    Declaration
    IList<CellObjectLODSettings> GetObjectStatesLODSettings()
    Returns
    Type Description
    IList<CellObjectLODSettings>

    GetObjectsLODSettings()

    Returns the list of LOD settings for cell objects in this layer.

    Declaration
    IList<CellObjectLayerLODSettings> GetObjectsLODSettings()
    Returns
    Type Description
    IList<CellObjectLayerLODSettings>

    GetVisualItemSettings()

    Returns the list of baked visual item settings.

    Declaration
    IList<CellObjectVisualItemSettings> GetVisualItemSettings()
    Returns
    Type Description
    IList<CellObjectVisualItemSettings>

    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