Construct a VFXPath by providing an array of base point data.
The array of points in the path
Get the interpolated point for a value x on [0, 1]
The animation progress on [0, 1]
A known index of the path which was already reached
Compute an interpolated point along the path at a given distance.
The desired distance along the path
An interpolated point for object position at that distance
StaticcreateCreate a VFXPath instance of a certain named path type defined in CONFIG.Canvas.vfx.paths.
The named path type to construct
Path points to construct
Additional parameters used to construct the path
The generated path
StaticgetGet a configured path generator from CONFIG.Canvas.vfx.paths.
The named path type
The path generator function
A class responsible for constructing a path of points used for animation.