animate

open fun animate(@NotNull animation: @NotNull String): Boolean

Plays an animation by name with default settings.

Return

true if the animation started

Since

1.15.2

Parameters

animation

the animation name


open fun animate(@NotNull animation: @NotNull String, @NotNull modifier: @NotNull AnimationModifier): Boolean

Plays an animation by name with a modifier.

Return

true if the animation started

Since

1.15.2

Parameters

animation

the animation name

modifier

the animation modifier


open fun animate(@NotNull animation: @NotNull String, @NotNull modifier: @NotNull AnimationModifier, @NotNull removeTask: @NotNull Runnable): Boolean

Plays an animation by name with a modifier and a completion task.

Return

true if the animation started

Since

1.15.2

Parameters

animation

the animation name

modifier

the animation modifier

removeTask

the task to run when the animation ends


open fun animate(@NotNull animation: @NotNull BlueprintAnimation, @NotNull modifier: @NotNull AnimationModifier): Boolean

Plays a blueprint animation with a modifier.

Return

true if the animation started

Since

1.15.2

Parameters

animation

the blueprint animation

modifier

the animation modifier


open fun animate(@NotNull animation: @NotNull TrackerAnimation<out Any>): Boolean
open fun animate(@NotNull animation: @NotNull TrackerAnimation<out Any>, @NotNull removeTask: @NotNull Runnable): Boolean


open fun animate(@NotNull animation: @NotNull BlueprintAnimation, @NotNull modifier: @NotNull AnimationModifier, @NotNull removeTask: @NotNull Runnable): Boolean

Plays a blueprint animation on filtered bones.

Return

true if the animation started

Since

1.15.2

Parameters

animation

the blueprint animation

modifier

the animation modifier

removeTask

the task to run when the animation ends