Set Speed (LogiX node)
Set Speed | ||
---|---|---|
Inputs | ||
Impulse | Set | |
Float | Speed | |
Outputs | ||
IPlayable | Target | |
Impulse | OnDone |
The Set Speed node sets the playback speed of the Target
to the input Speed
value.
Usage
The OnDone
output fires an impulse after an impulse is received at Set
and the playback speed of the Target
has been set. An impulse is fired regardless of whether the playback speed of the Target
was changed by this action. Note that this output will not fire if there is no valid Target
referenced.
The Speed
input defaults to 0 which appears to pause playback, however this is not recognised as a pause or stop event . A Speed
value of 1 results in the standard clip playback speed. Values in the range 0 - 1 exclusive results in slowed playback. Values above 1 result in faster playback. Values below 0 result in reversed playback. Special float values NaN or Infinity behave the same as 0.
Components which can be referenced as an IPlayable include Animator, AudioClipPlayer, and VideoTextureProvider.