Playback State (LogiX node)

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

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