Skip to content

CatmullRomTweenPath

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

Smooth path through every waypoint of a tween, along a Catmull-Rom spline.

Use the instance TweenPaths.CATMULL_ROM.

ReturnsSignatureSummary
CatmullRomTweenPath()Creates the path.

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

CatmullRomTweenPath()

Creates the path.

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

Returns the value at t on the curve through the points, each segment between two points 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