Shift Position (LogiX node)
Shift Position | ||
---|---|---|
Inputs | ||
Impulse | Set | |
Float | Delta | |
Outputs | ||
IPlayable | Target | |
Impulse | OnDone |
The Shift Position node changes playback position of the Target
by a number of seconds equal the Delta
input.
Usage
The OnDone
output fires an impulse after an impulse is received at Set
and the playback position of the Target
has been set. An impulse is fired regardless of whether the playback position of the Target
was changed by this action. Note that this output will not fire if there is no valid Target
referenced.
The playback position of a Target
can be changed during playback without interrupting it and playback continues from the new position. However playback restarts if the resulting position is less than or equal to 0. Similarly, playback stops if the resulting position would be greater than or equal the clip length. Position shifts for looped clips do not wrap around.
Components which can be referenced as an IPlayable include Animator, AudioClipPlayer, and VideoTextureProvider.