ProtoFlux:Normalized Position: Difference between revisions

From Resonite Wiki
create Normalized Position ProtoFlux Node Page
 
m encourage users to use Position for a seconds variant
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
|}}
|}}


Normalized Position is a ProtoFlux node that returns an [[Type:IPlayable|IPlayable]]'s playback head position from 0 to 1. Which can be multiplied by the clip length to get seconds.
Normalized Position is a ProtoFlux node that returns an [[Type:IPlayable|IPlayable]]'s playback head position from 0 to 1. See [[ProtoFlux:Position|Position ProtoFlux Node]] for a node that returns the playback head position in seconds.


== Inputs ==
== Inputs ==
Line 22: Line 22:
== Outputs ==
== Outputs ==


=== * (Sudo-Generic) ===
=== * ([[Type:Float|float]]) ===


The current playback head position of the provided Source ([[Type:IPlayable|IPlayable]]) from 0 to 1. Which can be multiplied by the clip length to get seconds.
The current playback head position of the provided Source ([[Type:IPlayable|IPlayable]]) from 0 to 1. See [[ProtoFlux:Position|Position ProtoFlux Node]] for a node that returns the playback head position in seconds.


== Examples ==
== Examples ==

Latest revision as of 17:32, 9 February 2024

Normalized Position
Source
*
Media

Normalized Position is a ProtoFlux node that returns an IPlayable's playback head position from 0 to 1. See Position ProtoFlux Node for a node that returns the playback head position in seconds.

Inputs

Source (IPlayable)

The clip to check the current position on.

Outputs

* (float)

The current playback head position of the provided Source (IPlayable) from 0 to 1. See Position ProtoFlux Node for a node that returns the playback head position in seconds.

Examples