AnimationScript

interface AnimationScript : Consumer<T>

Animation script

Inheritors

Properties

Link copied to clipboard
Empty script

Functions

Link copied to clipboard
abstract fun accept(@NotNull renderSource: @NotNull ScriptSource)
Link copied to clipboard
open fun andThen(p: Consumer<in T>): Consumer<T>
Link copied to clipboard
abstract fun isSync(): Boolean
Checks this script should be called in tick thread
Link copied to clipboard
@NotNull
open fun of(@NotNull scriptList: @NotNull List<AnimationScript>): @NotNull AnimationScript
Sums a script list to one
@NotNull
open fun of(@NotNull source: @NotNull Consumer<ScriptSource>): @NotNull AnimationScript
@NotNull
open fun of(isSync: Boolean, @NotNull source: @NotNull Consumer<ScriptSource>): @NotNull AnimationScript
Creates script
Link copied to clipboard
@NotNull
open fun time(time: Float): @NotNull TimeScript
Creates a timed script