The VTweenSampler2 class provides a means to sample arbitrary values from a 2D ScinTween table as a VGen.
Make a VTweenSampler2 at the requested rate.
tween |
The ScinTween curve to sample. |
t |
Where in the curve to sample. These values are in units of time on the ScinTween object, with time starting at 0 and extending to the total duration of the tween. Values of t outside of that range will clamp to the start and end levels in the tween if the tween does not loop, and will repeat if the tween does loop. |
The value of the tween at time t.
dimensions
input | output |
tween, 1 | 2 |