Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Struct VisualGeoPlastSettings

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Fwt.HexTerrains.GeoPlasts.Data
    Assembly: fwt.hexterrains.dll
    Syntax
    [Serializable]
    public struct VisualGeoPlastSettings

    Fields

    IsRenderZeroAsTransparent

    Declaration
    [Tooltip("If true, cells with zero plast amount/volume (depending on RenderMode) will be rendered as fully transparent. Otherwise, they will be rendered as the lowest possible height/biome.")]
    public bool IsRenderZeroAsTransparent
    Field Value
    Type Description
    bool

    RenderMode

    Declaration
    [Tooltip("Defines how the GeoPlast values are rendered to the heightmap and biomemap. Amount mode will render the plast amount directly, while Volume mode will calculate the volume of plast and render it as height.")]
    public VisualGeoPlastRenderMode RenderMode
    Field Value
    Type Description
    VisualGeoPlastRenderMode

    RenderValueScale

    Declaration
    [Tooltip("The scale to apply to the plast amount/volume when rendering. For instance, if this value is 2, and the plast amount is 0.1, the cell will be rendered as if the plast amount was 0.2.")]
    public float RenderValueScale
    Field Value
    Type Description
    float

    TransparencyTreshold

    Declaration
    [Tooltip("If the amount to render is less or equal to this value, the cell will be renered as Transparent depending on IsRenderZeroAsTransparent flag.\nFor instance, if this value is 0.01, and the plast amount is 0.005, the cell will be rendered as transparent if IsRenderZeroAsTransparent is true,\nbut if the plast amount is 0.02, the cell will be rendered according to its height and biome values.")]
    public float TransparencyTreshold
    Field Value
    Type Description
    float

    ZeroHeightTreshold

    Declaration
    [Tooltip("If the amount to render is more than zero, the cell height will be set to at least this value.\nFor instance, this value is 0.1, and the plast amount is 0.05, the cell height will be set to 0.1,\nbut if the plast amount is 0.2, the cell height will be set to 0.2.")]
    public float ZeroHeightTreshold
    Field Value
    Type Description
    float

    Properties

    DefaultSettings

    Declaration
    public static VisualGeoPlastSettings DefaultSettings { get; }
    Property Value
    Type Description
    VisualGeoPlastSettings

    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