AnimationModifier

A modifier of animation.

Parameters

predicate

predicate

start

start lerp

end

end lerp

type

animation type

speed

speed modifier

override

override

player

player

Constructors

Link copied to clipboard
constructor(start: Int, end: Int, speed: Float)
Creates modifier
constructor(@NotNull predicate: @NotNull BooleanSupplier, start: Int, end: Int, speed: Float)
Creates modifier
constructor(@NotNull predicate: @NotNull BooleanSupplier, start: Int, end: Int, @NotNull supplier: @NotNull FloatSupplier)
Creates modifier
constructor(@NotNull predicate: @NotNull BooleanSupplier, start: Int, end: Int, @Nullable type: @Nullable AnimationIterator.Type, speed: Float)
Creates modifier
constructor(@NotNull predicate: @NotNull BooleanSupplier, start: Int, end: Int, @Nullable type: @Nullable AnimationIterator.Type, @NotNull speed: @NotNull FloatSupplier)
Creates modifier

Types

Link copied to clipboard
class Builder
Builder

Properties

Link copied to clipboard
Default modifier
Link copied to clipboard
Default with play once modifier

Functions

Link copied to clipboard
@NotNull
open fun builder(): @NotNull AnimationModifier.Builder
Creates builder
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
open fun override(original: Boolean): Boolean
Gets override
Link copied to clipboard
open fun speedValue(): Float
Gets speed value
Link copied to clipboard
abstract fun toString(): String
Link copied to clipboard
@NotNull
open fun type(@NotNull defaultType: @NotNull AnimationIterator.Type): @NotNull AnimationIterator.Type
Gets modifier's type or default value