Skip to content

LinearTweenPath

class LinearTweenPath
Implements: ITweenPath
Package: dev.joid.lib.animation.tween.path · Module: core · Source: LinearTweenPath.java

Path made of straight segments between the waypoints of a tween.

Use the instance TweenPaths.LINEAR.

ReturnsSignatureSummary
LinearTweenPath()Creates the path.

ReturnsSignatureSummary
floatcompute(float t, float[] points, int pointCount)Returns the value at t on the straight segment between the two points that surround it, each segment taking the same share of the progress.

LinearTweenPath()

Creates the path.

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

Returns the value at t on the straight segment between the two points that surround it, each segment taking the same share of the progress.


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