Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Struct HexChunkMetrics

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Fwt.HexTerrains.Data
    Assembly: fwt.hexterrains.dll
    Syntax
    public struct HexChunkMetrics

    Fields

    Bounds

    Declaration
    public Bounds Bounds
    Field Value
    Type Description
    Bounds

    CellsCount

    Declaration
    public int CellsCount
    Field Value
    Type Description
    int

    ChunkBounds

    Declaration
    public ChunkBounds ChunkBounds
    Field Value
    Type Description
    ChunkBounds

    ChunkCoordinate

    Coordinate in chunks grid. If terrain is 4 chunks width and 3 height, chunks grid will be size of 4:3 and this is a coordinate of this chunk in that grid

    Declaration
    public int2 ChunkCoordinate
    Field Value
    Type Description
    int2

    ChunkHeight

    Declaration
    public float ChunkHeight
    Field Value
    Type Description
    float

    ChunkIndex

    Declaration
    public int ChunkIndex
    Field Value
    Type Description
    int

    ChunkPosition_Cells

    Declaration
    public int2 ChunkPosition_Cells
    Field Value
    Type Description
    int2

    ChunkPosition_Units

    Declaration
    public float2 ChunkPosition_Units
    Field Value
    Type Description
    float2

    ChunkPositions

    Declaration
    public ChunkPositions ChunkPositions
    Field Value
    Type Description
    ChunkPositions

    ChunkSize_Cells

    Declaration
    public int2 ChunkSize_Cells
    Field Value
    Type Description
    int2

    ChunkSize_Units

    Declaration
    public float2 ChunkSize_Units
    Field Value
    Type Description
    float2

    Methods

    CreateMetrics(int, HexTerrainMetrics, HexTerrainSettings)

    Declaration
    public static HexChunkMetrics CreateMetrics(int chunkIndex, HexTerrainMetrics terrainMetrics, HexTerrainSettings terrainSettings)
    Parameters
    Type Name Description
    int chunkIndex
    HexTerrainMetrics terrainMetrics
    HexTerrainSettings terrainSettings
    Returns
    Type Description
    HexChunkMetrics

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    ValueType.ToString()

    Extension Methods

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