StatDrivenEffect
A class in Root.Township, Alta.PlayerEffects.
Visuals for one side (buff or debuff) of a stat effect: a pooled effect, a curve from stat value to size, and a shell setting.
- Listed in Players and characters
Constructors
| Member | What it is |
|---|---|
StatDrivenEffect() | Creates a StatDrivenEffect from isBuff. |
StatDrivenEffect(bool isBuff) | Creates a StatDrivenEffect from isBuff. |
Fields
3 private and internal fields
| Member | What it is |
|---|---|
private PooledObjectDefinition effectDefinition | Backing field for EffectDefinition. |
private StatEffectShellSetting shieldEffect | Backing field for ShieldEffect. |
private AnimationCurve valueToSizeCurve | Backing field for ValueToSizeCurve. |
Properties
| Member | What it is |
|---|---|
PooledObjectDefinition EffectDefinition { get; } | Pooled effect spawned for the stat effect. |
StatEffectShellSetting ShieldEffect { get; } | Shell setting applied over the player. |
AnimationCurve ValueToSizeCurve { get; } | Maps the stat's value to the effect's size. |
Used in
Members of other types that take, return or hold a StatDrivenEffect: