Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Struct DensityByTemperatureSettings

    Settings that define how the temperature affects the density of the plast. If TemperatureScalesDensity is true, the plast density will be multiplied by the value from DensityByTemperatureFactorCurve evaluated at the cell temperature. This allows to simulate the effect of hot plast being less dense and more fluid, while cold plast is more dense and less fluid.

    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 DensityByTemperatureSettings

    Fields

    DensityByTemperatureFactorCurve

    Declaration
    public ExponentialCurve DensityByTemperatureFactorCurve
    Field Value
    Type Description
    ExponentialCurve

    DensityScale

    The density calculated by temperature will be multiplied by this value. This allows to adjust the overall effect of temperature on density. For example, if DensityScale is 0.5, the density will be reduced by half at the same temperature compared to a DensityScale of 1.0. If DensityScale is 2.0, the density will be doubled at the same temperature compared to a DensityScale of 1.0.

    Declaration
    [Tooltip("The density calculated by temperature will be multiplied by this value. This allows to adjust the overall effect of temperature on density. For example, if DensityScale is 0.5, the density will be reduced by half at the same temperature compared to a DensityScale of 1.0. If DensityScale is 2.0, the density will be doubled at the same temperature compared to a DensityScale of 1.0.")]
    public float DensityScale
    Field Value
    Type Description
    float

    TemperatureScalesDensity

    Declaration
    public bool TemperatureScalesDensity
    Field Value
    Type Description
    bool

    Properties

    Default

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

    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