Path Callback
This creates a new PathCallback with a specified start condition (either time or parametric), a Runnable of code to run (preferably a lambda statement), a type (using the class constants), and an index for which Path within a PathChain the callback is to run on.
Parameters
start Condition
This defines when the callback is to be run, either as a wait time in milliseconds or a t-value (parametric time) point.
runnable
This contains the code to run when the callback is called.
type
This defines the type of callback using the class constants.
index
This defines which Path within the PathChain the callback is to run on.