Class AnimationDefaults
- Namespace
- SharpConsoleUI.Configuration
- Assembly
- SharpConsoleUI.dll
Centralized constants for animation timing and limits.
public static class AnimationDefaults
- Inheritance
-
AnimationDefaults
- Inherited Members
Fields
DefaultEasingName
Default easing function name (EaseInOut). The actual default is applied via EasingFunctions.EaseInOut.
public const string DefaultEasingName = "EaseInOut"
Field Value
DefaultFadeDurationMs
Default duration for fade animations in milliseconds.
public const int DefaultFadeDurationMs = 300
Field Value
DefaultFlashPulseDurationMs
Default duration of a single modal flash pulse in milliseconds (fade up + fade down).
public const int DefaultFlashPulseDurationMs = 300
Field Value
DefaultSlideDurationMs
Default duration for slide animations in milliseconds.
public const int DefaultSlideDurationMs = 400
Field Value
FadeForegroundBlendRatio
Foreground blend ratio for fade animations. Set to 1.0 so foreground fades at the same rate as background for a true fade effect.
public const float FadeForegroundBlendRatio = 1
Field Value
FlashForegroundBlendRatio
Foreground blend factor relative to background intensity during flash overlay.
public const float FlashForegroundBlendRatio = 0.5
Field Value
FlashIntensityEpsilon
Intensity threshold below which the flash overlay is skipped for performance.
public const float FlashIntensityEpsilon = 0.001
Field Value
FlashInterPulseDelayMs
Delay between consecutive flash pulses in milliseconds.
public const int FlashInterPulseDelayMs = 150
Field Value
FlashMaxIntensity
Maximum overlay intensity for the modal flash effect (0.0 to 1.0).
public const float FlashMaxIntensity = 0.3
Field Value
MaxConcurrentAnimations
Maximum number of concurrent animations allowed.
public const int MaxConcurrentAnimations = 50
Field Value
MaxFrameDeltaMs
Maximum delta time per animation frame in milliseconds. Prevents animations from completing instantly when the system was idle and the elapsed time since last render is very large.
public const double MaxFrameDeltaMs = 33