InterpolationUtil

@ApiStatus.Internal
class InterpolationUtil

Interpolation util

Functions

Link copied to clipboard
open fun alpha(p0: Float, p1: Float, alpha: Float): Float
Link copied to clipboard
@NotNull
open fun bezier(time: Float, startTime: Float, endTime: Float, @NotNull startValue: @NotNull Vector3f, @NotNull endValue: @NotNull Vector3f, @Nullable bezierLeftTime: @Nullable Vector3f, @Nullable bezierLeftValue: @Nullable Vector3f, @Nullable bezierRightTime: @Nullable Vector3f, @Nullable bezierRightValue: @Nullable Vector3f): @NotNull Vector3f
Link copied to clipboard
@NotNull
open fun catmull_rom(@NotNull p0: @NotNull Vector3f, @NotNull p1: @NotNull Vector3f, @NotNull p2: @NotNull Vector3f, @NotNull p3: @NotNull Vector3f, t: Float): @NotNull Vector3f
Link copied to clipboard
open fun cubicBezier(p0: Float, p1: Float, p2: Float, p3: Float, t: Float): Float
Link copied to clipboard
open fun derivativeBezier(p0: Float, p1: Float, p2: Float, p3: Float, t: Float): Float
Link copied to clipboard
open fun insertLerpFrame(@NotNull frames: @NotNull FloatCollection)
open fun insertLerpFrame(@NotNull frames: @NotNull FloatCollection, frame: Float)
Link copied to clipboard
open fun lerp(p0: Float, p1: Float, alpha: Float): Float
@NotNull
open fun lerp(@NotNull p0: @NotNull Vector3f, @NotNull p1: @NotNull Vector3f, alpha: Float): @NotNull Vector3f
Link copied to clipboard
@NotNull
open fun putAnimationPoint(@NotNull animations: @NotNull List<AnimationPoint>, @NotNull points: @NotNull FloatSet): @NotNull List<AnimationPoint>
Link copied to clipboard
@NotNull
open fun putPoint(@NotNull vectors: @NotNull List<VectorPoint>, @NotNull points: @NotNull FloatSet): @NotNull List<VectorPoint>
Link copied to clipboard
open fun roundTime(time: Float): Float
Link copied to clipboard
open fun solveBezierTForTime(time: Float, t0: Float, h1: Float, h2: Float, t1: Float): Float
Link copied to clipboard
@NotNull
open fun sum(length: Float, @NotNull position: @NotNull List<VectorPoint>, @NotNull rotation: @NotNull List<VectorPoint>, @NotNull scale: @NotNull List<VectorPoint>): @NotNull List<AnimationPoint>
@NotNull
open fun sum(@NotNull position: @NotNull List<VectorPoint>, @NotNull rotation: @NotNull List<VectorPoint>, @NotNull scale: @NotNull List<VectorPoint>, @NotNull points: @NotNull FloatSet): @NotNull List<AnimationPoint>