DurationCurve
A class in Root.Township, the global namespace.
A serializable animation curve paired with a duration in seconds.
- Listed in Global namespace: C to D
Constructors
| Member | What it is |
|---|---|
DurationCurve(AnimationCurve curve, float duration) | Creates a DurationCurve from curve and duration. |
Fields
2 private and internal fields
Properties
| Member | What it is |
|---|---|
AnimationCurve Curve { get; } | The curve. |
float Duration { get; } | How long the curve plays for, in seconds. |
Used in
Members of other types that take, return or hold a DurationCurve:
ActionGlyphAnimator.fadeCurve, TimberBlockSpawner.rotationAnimation, CombatShellAnimator.AnimateCombatShield, ShellAnimationHandler.Curve, ShellAnimationHandler.ShellAnimationHandler, ShellAnimator.AnimateProgress, StatEffectShellSetting.Curve, StatEffectShellSetting.progressCurve, CombatStateSettings.shellAnimationCurve, CombatStateSettings.ShellAnimationCurve, DurabilityStateChangeEffect.animationProgress, EcholocationEffect.LevelDefinition.effectDurationCurve, MiningEcho.LevelDefinition.effectDurationCurve, MRK_ActivationLever.columnMovement, PathModelDisplay.animationSettings, PlayerHealthVisualEffectsSettings.blurryEffect, PlayerHealthVisualEffectsSettings.BlurryEffect, PlayerHealthVisualEffectsSettings.hurtShellCurve, PlayerHealthVisualEffectsSettings.HurtShellCurve, PlayerHealthVisualEffectsSettings.vignetteDurationCurve, PlayerHealthVisualEffectsSettings.VignetteDurationCurve, PlayerSpecialEffectsController.enterSpiritModeCurve, PlayerSpecialEffectsController.exitSpiritModeCurve, PlayerSpecialEffectsController.waveCurve, Spinner.scaleCurve, SpiritModeShellAnimator.AnimateSpiritMode, TrainingHittingTool.rotationOverTime.