ProtoFlux:Position: Difference between revisions

From Resonite Wiki
Added flux node and rudimentary explanations.
 
Added in the input and output descriptions.
 
(One intermediate revision by one other user not shown)
Line 13: Line 13:


The position node tells a IPlayable's current position in seconds.  
The position node tells a IPlayable's current position in seconds.  
== Inputs ==
=== Source ([[Type:IPlayable|IPlayable]]) ===
The [[Type:IPlayable|IPlayable]] to set the position on.
== Outputs ==
=== * ([[Type:float|float]]) ===
Returns the position of the playback.


== Examples ==
== Examples ==
[[File:Resonite_xzXlMyrkRt.mp4|500px|thumb|left|Filling the Source of the Position node with an AudioClipPlayer component.]]
[[File:Resonite_xzXlMyrkRt.mp4|500px|thumb|left|Filling the Source of the Position node with an AudioClipPlayer component.]]
[[Category:ProtoFlux:Media]]

Latest revision as of 23:44, 20 May 2024

Position
Source
*
Media

The position node tells a IPlayable's current position in seconds.

Inputs

Source (IPlayable)

The IPlayable to set the position on.

Outputs

* (float)

Returns the position of the playback.

Examples

Filling the Source of the Position node with an AudioClipPlayer component.