ProtoFlux:Position: Difference between revisions

From Resonite Wiki
m forgor category
Added in the input and output descriptions.
 
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 ==

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.