Struct StylePropertyTransition
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
A single property's transition override inside PropertyOverrides.
Any null field falls back to the enclosing config's corresponding top-level value — Easing
falls back to the config's EFFECTIVE easing for the direction being played (Easing for an enter,
ExitEasing ?? Easing for an exit), matching how the top-level fields already resolve per direction.
public readonly struct StylePropertyTransition
Constructors
Properties
- DurationSec
Duration override (seconds). Null falls back to DurationSec.
- Easing
Easing override. Null falls back to the enclosing config's effective easing for the direction being played.
- Property
The USS property name UI Toolkit animates, e.g.
"opacity","scale","translate","rotate","background-color"— spelled exactly as UI Toolkit's transition-property expects.