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)
Creates modifier
constructor(start: Int, end: Int, speedValue: Float)
Creates modifier
constructor(start: Int, end: Int, @Nullable supplier: @Nullable FloatSupplier)
Creates modifier
constructor(start: Int, end: Int, @Nullable type: @Nullable AnimationIterator.Type)
Creates modifier
constructor(start: Int, end: Int, @Nullable type: @Nullable AnimationIterator.Type, @Nullable speed: @Nullable FloatSupplier)
Creates modifier
constructor(@Nullable predicate: @Nullable BooleanSupplier, start: Int, end: Int, @Nullable type: @Nullable AnimationIterator.Type, @Nullable speed: @Nullable FloatSupplier)
Creates modifier

Types

Link copied to clipboard
class Builder
Builder

Properties

Link copied to clipboard
@NotNull
val DEFAULT: @NotNull AnimationModifier
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
Gets predicate value
Link copied to clipboard
open fun speedValue(): Float
Gets speed value
Link copied to clipboard
@NotNull
open fun toBuilder(): @NotNull AnimationModifier.Builder
Makes this modifier as builder
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