Verse Library verse

01 Fragment

Applies speed changes, time scrubbing, pausing, and frame snapping to control a sequence playback timeline.

verse-library/verse-skel-director-control/01-fragment.verse

# A Cinematic Sequence device is a scrubbable timeline you control from Verse.
Cine.SetPlayRate(2.0)        # double speed (0.5 = slow-mo, negative = backward)
Cine.SetPlaybackTime(0.0)    # jump the playhead to a time in seconds
Now := Cine.GetPlaybackTime()  # read where the playhead is now
Cine.TogglePause()           # flip between playing and paused
Cine.GoToEndAndStop()        # snap to the final frame and stop

Comments

    Sign in to vote, comment, or suggest an edit. Sign in