Pause/Resume (LogiX node)
Pause/Resume | ||
---|---|---|
Inputs | ||
Impulse | PauseResume | |
Outputs | ||
IPlayable | Target | |
Impulse | OnDone |
The Pause/Resume node toggles the playback state of the Target
when an impulse is received at Pause/Resume
.
Usage
The OnDone
output fires an impulse after an impulse is received at Pause
and the playback state of the Target
has been changed. Note that this output will not fire if there is no valid Target
referenced.
Impulses recieved at Pause/Resume will always change the Target
playback state regardless of how it reached that state. e.g. The Target
is playing and is paused by a Pause/Resume. Playback is then resumed by a Resume (LogiX node). Further impulses at PauseResume will again pause playback despite the fact that playback was previously resumed by a difference source.
Components which can be referenced as an IPlayable include Animator, AudioClipPlayer, and VideoTextureProvider.