Search Results for

    Show / Hide Table of Contents

    Struct StarScalingValue

    Special scaling value for star effects. Follows level and strength of a certain star effect.

    Namespace: Global
    Assembly: Dew.Core.dll
    Syntax
    [Serializable]
    [InlineProperty]
    [LabelWidth(100)]
    public struct StarScalingValue

    Fields

    clampMax

    Declaration
    [ShowIf("@isClamped", true)]
    [HideLabel]
    [HorizontalGroup("C", 0, 0, 0, 0)]
    public float clampMax
    Field Value
    Type Description
    float

    clampMin

    Declaration
    [ShowIf("@isClamped", true)]
    [HideLabel]
    [SuffixLabel("-", false)]
    [HorizontalGroup("C", 0, 0, 0, 0)]
    public float clampMin
    Field Value
    Type Description
    float

    isClamped

    Declaration
    [ToggleLeft]
    [HorizontalGroup("C", 0, 0, 0, 0)]
    [LabelText("Clamp")]
    public bool isClamped
    Field Value
    Type Description
    bool

    isInteger

    Declaration
    [ToggleLeft]
    [HorizontalGroup("B", 40, 0, 0, 0)]
    [LabelText("Int")]
    public bool isInteger
    Field Value
    Type Description
    bool

    isParentStarEffect

    Declaration
    [HideInInspector]
    public bool isParentStarEffect
    Field Value
    Type Description
    bool

    levels

    Declaration
    [HideInInspector]
    public int levels
    Field Value
    Type Description
    int

    strengthScaling

    Declaration
    [HideLabel]
    [HorizontalGroup("B", 0, 0, 0, 0)]
    public StarScalingValue.StrengthScalingType strengthScaling
    Field Value
    Type Description
    StarScalingValue.StrengthScalingType

    v0

    Declaration
    [HorizontalGroup("A", 0, 0, 0, 0)]
    [HideLabel]
    public float v0
    Field Value
    Type Description
    float

    v1

    Declaration
    [HorizontalGroup("A", 0, 0, 0, 0)]
    [HideLabel]
    [ShowIf("@!isParentStarEffect || levels >= 2", true)]
    public float v1
    Field Value
    Type Description
    float

    v2

    Declaration
    [HorizontalGroup("A", 0, 0, 0, 0)]
    [HideLabel]
    [ShowIf("@!isParentStarEffect || levels >= 3", true)]
    public float v2
    Field Value
    Type Description
    float

    v3

    Declaration
    [HorizontalGroup("A", 0, 0, 0, 0)]
    [HideLabel]
    [ShowIf("@!isParentStarEffect || levels >= 4", true)]
    public float v3
    Field Value
    Type Description
    float

    v4

    Declaration
    [HorizontalGroup("A", 0, 0, 0, 0)]
    [HideLabel]
    [ShowIf("@!isParentStarEffect || levels >= 5", true)]
    public float v4
    Field Value
    Type Description
    float

    v5

    Declaration
    [HorizontalGroup("A", 0, 0, 0, 0)]
    [HideLabel]
    [ShowIf("@!isParentStarEffect || levels >= 6", true)]
    public float v5
    Field Value
    Type Description
    float

    v6

    Declaration
    [HorizontalGroup("A", 0, 0, 0, 0)]
    [HideLabel]
    [ShowIf("@!isParentStarEffect || levels >= 7", true)]
    public float v6
    Field Value
    Type Description
    float

    v7

    Declaration
    [HorizontalGroup("A", 0, 0, 0, 0)]
    [HideLabel]
    [ShowIf("@!isParentStarEffect || levels >= 8", true)]
    public float v7
    Field Value
    Type Description
    float

    Methods

    Get(int)

    Declaration
    public float Get(int index)
    Parameters
    Type Name Description
    int index
    Returns
    Type Description
    float

    GetValue(int, float)

    Declaration
    public float GetValue(int level, float strength)
    Parameters
    Type Name Description
    int level
    float strength
    Returns
    Type Description
    float

    Set(int, float)

    Declaration
    public void Set(int index, float value)
    Parameters
    Type Name Description
    int index
    float value
    In This Article
    Back to top Shape of Dreams API Documentation