Compatible With ScriptsCompatible With ExpressionsCompatible With The Command Line

 

double CycleFrame (object obj, channel chan, frame frm )

 

Return Value: changes the value of [obj:chan] to be the value of [obj:chan@frm]

 

Arguments:

obj

object in question

chan

channel to modify

frm

frame at which the new value is to be taken from

 

Overrides the value of obj's chan channel and changes it to what it would be if the current frame where from # frm.

 

Note: When using an expression that samples a channel's value at a frame other than NOW, the value returned will always be the value of the channel's motion curve at that time. You cannot sample an item's procedural motion at a frame other than NOW and not before it has been processed (i.e. you can't sample a motion that is driven by an expression that follows the current one). If you need to sample a procedural motion on a different frame the motion must be frozen first.

 

Example:

Exp_1
|_CycleFrame(Null, xpos, IN + [Slider:chan[ NullMotion ]] * (OUT - IN) )

This use of CycleFrame( ) will make Null:xpos cycle through the animation on it's xpos channel from the IN point to the OUT point as Slider's NullMotion channel is changed from 0 to 1.

Converted from CHM to HTML with chm2web Pro 2.82 (unicode)