Component:PlaybackPositionDriver

From Resonite Wiki
Revision as of 17:44, 24 December 2024 by 989onan (talk | contribs) (add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Playback Position Driver component as seen in the Scene Inspector

The PlaybackPositionDriver component is used to output and/or influence the playback position of an IPlayable.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
Target field drive of Float The field to drive with the time position of Source from. If UseNormalizedPosition is true, this is 0<->1, else it's the amount of seconds from the start.
Source IPlayable The playable audio to get the time from.
UseNormalizedPosition Bool Whether to output a 0<->1 or an amount of seconds
WriteBack Bool Whether writing to the value of the field specified by Target will set the playback position.

Usage

Can be used on a timeline to get the amount of time left or played in an audio clip that is playing.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


See Also