Wait (LogiX node)
Wait | ||
---|---|---|
Inputs | ||
Impulse | Wait | |
Outputs | ||
IPlayable | Target | |
Impulse | OnWaitBegin | |
Impulse | OnFinishedWaiting |
The Wait node waits for playback of the Target
to finish after an impulse is received at Wait
. When playback finishes an impulse is fired from OnFinishedWaiting
Usage
The OnWaitBegin
output fires an impulse after an impulse is received at Wait
. Note that this output will not fire if there is no valid Target
referenced.
The OnFinishedWaiting
output fires an impulse when playback of the Target
stops after an impulse is received at Wait
. Both pauses and full playback stops will cause this output to fire. If the Target
is looped, this output will not fire an impulse if playback reaches the end and loops back from the start, however an impulse will still be fired when playback eventually finishes. The playback speed of the Target
becoming 0 does not cause this output to fire.
Components which can be referenced as an IPlayable include Animator, AudioClipPlayer, and VideoTextureProvider.