Skip to content

ITweenPath

interface ITweenPath
Known subtypes: CatmullRomTweenPath, LinearTweenPath
Package: dev.joid.lib.animation.tween · Module: core · Source: ITweenPath.java

Curve that joins the start, the waypoints and the target of a tween.

TweenPaths holds the curves of JOID; implement this interface for a path of your own.

ReturnsSignatureSummary
floatcompute(float t, float[] points, int pointCount) abstractReturns the value at t, the progress from 0F to 1F, on the path through the first pointCount values of points (start, waypoints, target).

float compute(float t, float[] points, int pointCount) abstract

Returns the value at t, the progress from 0F to 1F, on the path through the first pointCount values of points (start, waypoints, target).


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page