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.
Description
Section titled “Description”Use the instance TweenPaths.CATMULL_ROM.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
| CatmullRomTweenPath() | Creates the path. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
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. |
Creation details
Section titled “Creation details”CatmullRomTweenPath
Section titled “CatmullRomTweenPath”CatmullRomTweenPath()
Creates the path.
Method details
Section titled “Method details”compute
Section titled “compute”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
