EmptyProgress

Constructors

Link copied to clipboard
constructor()

Companion properties

Link copied to clipboard
An empty animation progress that applies no transformation.

Companion functions

Link copied to clipboard
@NotNull
open fun empty(time: Float): @NotNull AnimationProgress
@NotNull
open fun empty(time: Float, skipInterpolation: Boolean, globalRotation: Boolean): @NotNull AnimationProgress
Creates an empty animation progress at a specific time.
Link copied to clipboard
@NotNull
open fun emptyStorage(time: Float): @NotNull TimedStorage<AnimationProgress>
Creates an empty timed storage with a start and end keyframe.

Functions

Link copied to clipboard
@NotNull
open fun animate(@NotNull context: @NotNull KeyframeRuntimeContext, @NotNull movement: @NotNull BoneMovement, @NotNull dest: @NotNull BoneMovement): @NotNull BoneMovement
Link copied to clipboard
abstract fun compareTo(p: T): Int
open fun compareTo(@NotNull o: @NotNull Timed): Int
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun globalRotation(): Boolean
Checks if the rotation in this keyframe should be applied globally.
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun skipInterpolation(): Boolean
Checks if interpolation should be skipped after this keyframe.
Link copied to clipboard
open fun tickTime(): Float
Returns this time in seconds, rounded to the nearest 50 ms Minecraft tick.
Link copied to clipboard
abstract fun time(): Float
Gets time
Link copied to clipboard
@NotNull
open fun toEmpty(): @NotNull AnimationProgress
Converts this progress to empty progress at the same time.
Link copied to clipboard
abstract fun toString(): String