Enum TransitionWhen
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
Sequences a Motion's own class swap against its inheriting descendants' swaps — see When and StaggerChildrenSec.
public enum TransitionWhen
Fields
AfterChildren = 2This Motion's own play waits for its inheriting descendants' plays to end: it starts once the latest of them has, measured as BeforeChildren measures a play's span, and then adds its own DelaySec. The descendants start as under Together, at DelayChildrenSec plus their stagger slot.
BeforeChildren = 1Inheriting descendants wait for this Motion's OWN transition to finish before starting: every descendant's computed delay additionally includes this Motion's own DelaySec and the time its play takes — its DurationSec, or a spring's time to rest, over every Repeat pass. The swap does not even START until DelaySec has elapsed. A play repeating without end never finishes, so its descendants never start.
Together = 0This Motion and its inheriting descendants animate at the same time, offset only by StaggerChildrenSec / DelayChildrenSec. The default.