Set Position (LogiX node)
Set Position | ||
---|---|---|
Inputs | ||
Impulse | Set | |
Float | Position | |
Outputs | ||
IPlayable | Target | |
Impulse | OnDone |
The Set Position node sets the playback position (in seconds) of the Target
to the input Position
.
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 if the input Position
is less than or equal to 0 playback restarts. Similarly, if Position
is greater than or equal to the clip length, playback stops with the playback position set to the value of the clip length (or restarts if the looped status is True).
Components which can be referenced as an IPlayable include Animator, AudioClipPlayer, and VideoTextureProvider.