Table of Contents

Class VelvetKeyframes

Namespace
Velvet
Assembly
Velvet.Docs.dll

The registry behind animate-<name> and animate-[<name><time><timing>_infinite]: keyframe animations, as CSS @keyframes declares them, which an element loops through the same driver as animate-pulse and its siblings. Register before the first render that uses the name.

public static class VelvetKeyframes
Inheritance
object
VelvetKeyframes

Methods

Register(string, IReadOnlyList<KeyframeStop>, float, BezierCurve?)

Registers name for animate-name, looping over durationSec on timing (CSS ease when null), replacing an earlier registration of the name.

Unregister(string)

Removes a registration; true where there was one.