EmptyProgress

An implementation of AnimationProgress that represents an empty keyframe.

Since

2.0.0

Parameters

time

the time of the keyframe

Constructors

Link copied to clipboard
constructor()

Properties

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

Functions

Link copied to clipboard
@NotNull
open fun animate(@NotNull movement: @NotNull BoneMovement, @NotNull dest: @NotNull BoneMovement): @NotNull BoneMovement
Applies this keyframe's animation to a bone's movement.
Link copied to clipboard
abstract fun compareTo(p: T): Int
open fun compareTo(@NotNull o: @NotNull Timed): Int
Link copied to clipboard
@NotNull
open fun empty(time: Float): @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.
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
Checks if the rotation in this keyframe should be applied globally.
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
Checks if interpolation should be skipped after this keyframe.
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