AnimationModifier

A modifier of animation.

Parameters

predicate

predicate

start

start lerp

end

end lerp

type

animation type

speed

speed modifier

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
constructor(@NotNull predicate: @NotNull BooleanSupplier, start: Int, end: Int, @Nullable type: @Nullable AnimationIterator.Type, @NotNull speed: @NotNull AnimationModifier.SpeedModifier)
Creates modifier

Types

Link copied to clipboard
A modifier of speed

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
@NotNull
open fun speed(speed: Float): @NotNull AnimationModifier.SpeedModifier
@NotNull
open fun speed(@NotNull supplier: @NotNull FloatSupplier): @NotNull AnimationModifier.SpeedModifier
Creates speed modifier
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