BlueprintAnimation

Represents a complete, processed animation for a model.

This record contains all the necessary data to play an animation, including keyframes for each bone, loop settings, and associated scripts.

Since

1.15.2

Parameters

name

the name of the animation

loop

the default loop mode

length

the length of the animation in seconds

override

whether this animation overrides others

animator

a map of animators for each bone

script

the script associated with this animation, if any

emptyAnimator

a list of empty movements, used as a fallback or for initialization

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@NotNull
open fun emptyIterator(@NotNull type: @NotNull AnimationIterator.Type): @NotNull AnimationIterator<AnimationProgress>
Creates an iterator for the empty animation sequence.
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
@Nullable
open fun script(@NotNull modifier: @NotNull AnimationModifier): @Nullable BlueprintScript
Retrieves the script for this animation, considering the provided modifier.
Link copied to clipboard
abstract fun toString(): String