Verse Library verse

01 Fragment

Implements forward playback, reverse, stop, and completion event subscription for a cinematic sequence device.

verse-library/verse-skel-cinematic-sequence/01-fragment.verse

# A Cinematic Sequence device wraps a Level Sequence (a Sequencer track)
# authored in the editor. Verse drives the transport, not the keyframes.
Cine.Play()           # roll the sequence forward
Cine.PlayReverse()    # roll it backward
Cine.Stop()           # stop and stay put
# React the moment it finishes (StoppedEvent carries no data):
Cine.StoppedEvent.Subscribe(OnSequenceDone)

Comments

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