register

open fun <T : Tracker?> register(@NotNull name: @NotNull String, @NotNull builderFunction: @NotNull (TrackerAnimation.Builder<Tracker>) -> TrackerAnimation.Builder<T>): @NotNull TrackerAnimation<T>

Registers a new tracker animation.

Return

the registered animation

Parameters

name

the name of the animation

builderFunction

the function to build the animation

<T>

the tracker type