VTweenSampler4:
Filter:
Scintillator/Classes (extension) | Quarks > Scintillator > VGens > Tweens

VTweenSampler4
ExtensionExtension

Provides time-invariant sampling of 4D ScinTween curves

Description

The VTweenSampler4 class provides a means to sample arbitrary values from a 4D ScinTween table as a VGen.

Class Methods

.fr

.pr

.sr

Make a VTweenSampler4 at the requested rate.

Arguments:

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.

Returns:

The value of the tween at time t.

dimensions

inputoutput
tween, 11

Examples