Struct StarScalingValue
Special scaling value for star effects. Follows level and strength of a certain star effect.
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
clampMin
Declaration
[ShowIf("@isClamped", true)]
[HideLabel]
[SuffixLabel("-", false)]
[HorizontalGroup("C", 0, 0, 0, 0)]
public float clampMin
Field Value
isClamped
Declaration
[ToggleLeft]
[HorizontalGroup("C", 0, 0, 0, 0)]
[LabelText("Clamp")]
public bool isClamped
Field Value
isInteger
Declaration
[ToggleLeft]
[HorizontalGroup("B", 40, 0, 0, 0)]
[LabelText("Int")]
public bool isInteger
Field Value
isParentStarEffect
Declaration
[HideInInspector]
public bool isParentStarEffect
Field Value
levels
Declaration
[HideInInspector]
public int levels
Field Value
strengthScaling
Declaration
[HideLabel]
[HorizontalGroup("B", 0, 0, 0, 0)]
public StarScalingValue.StrengthScalingType strengthScaling
Field Value
v0
Declaration
[HorizontalGroup("A", 0, 0, 0, 0)]
[HideLabel]
public float v0
Field Value
v1
Declaration
[HorizontalGroup("A", 0, 0, 0, 0)]
[HideLabel]
[ShowIf("@!isParentStarEffect || levels >= 2", true)]
public float v1
Field Value
v2
Declaration
[HorizontalGroup("A", 0, 0, 0, 0)]
[HideLabel]
[ShowIf("@!isParentStarEffect || levels >= 3", true)]
public float v2
Field Value
v3
Declaration
[HorizontalGroup("A", 0, 0, 0, 0)]
[HideLabel]
[ShowIf("@!isParentStarEffect || levels >= 4", true)]
public float v3
Field Value
v4
Declaration
[HorizontalGroup("A", 0, 0, 0, 0)]
[HideLabel]
[ShowIf("@!isParentStarEffect || levels >= 5", true)]
public float v4
Field Value
v5
Declaration
[HorizontalGroup("A", 0, 0, 0, 0)]
[HideLabel]
[ShowIf("@!isParentStarEffect || levels >= 6", true)]
public float v5
Field Value
v6
Declaration
[HorizontalGroup("A", 0, 0, 0, 0)]
[HideLabel]
[ShowIf("@!isParentStarEffect || levels >= 7", true)]
public float v6
Field Value
v7
Declaration
[HorizontalGroup("A", 0, 0, 0, 0)]
[HideLabel]
[ShowIf("@!isParentStarEffect || levels >= 8", true)]
public float v7
Field Value
Methods
Get(int)
Declaration
public float Get(int index)
Parameters
| Type |
Name |
Description |
| int |
index |
|
Returns
GetValue(int, float)
Declaration
public float GetValue(int level, float strength)
Parameters
| Type |
Name |
Description |
| int |
level |
|
| float |
strength |
|
Returns
Set(int, float)
Declaration
public void Set(int index, float value)
Parameters
| Type |
Name |
Description |
| int |
index |
|
| float |
value |
|