Shift Position (LogiX node)

From Neos Wiki
Jump to navigation Jump to search
Other languages:
Shift Position
'Shift Position' LogiX node
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.

Examples

Node Menu

Playback
Back Clip Length Drive Playback Is Looped Is Playing Normalized Position Pause
Pause/Resume Play Play & Wait Playback State Position Resume Set Loop
Set Normalized Position Set Position Set Speed Shift Position Speed Stop Wait