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
Creates modifier
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
Functions
Link copied to clipboard
@NotNull
Creates speed modifier
Link copied to clipboard
Gets speed value
Link copied to clipboard
@NotNull
Gets modifier's type or default value