Playback State (LogiX node)
Playback State | ||
---|---|---|
Inputs | ||
IPlayable | Source | |
Outputs | ||
Bool | IsPlaying | |
Bool | Loop | |
Float | Position | |
Float | NormalizedPosition | |
Float | ClipLength | |
Float | Speed |
The Playback state node outputs several pieces of information about the current playback state of the Source
clip.
Usage
The IsPlaying
output is True if the Source
is being played, otherwise False. Equivalent to Is Playing (LogiX node).
The Loop
output is True if the Source
is set to be looped when playback finishes, otherwise False. Equivalent to Is Looped (LogiX node).
The Position
output provides the playback position (or progress) of the Source
in seconds with microsecond precision. Equivalent to Position (LogiX node).
The NormalizedPosition
output provides the playback length of the Source
in seconds with microsecond precision. Equivalent to Clip Length (LogiX node).
The Speed
output provides the playback speed of the Source
. Equivalent to Speed (LogiX node).
Components which can be referenced as an IPlayable include Animator, AudioClipPlayer, and VideoTextureProvider.