Component:ButtonPlaybackSeeker

From Resonite Wiki
Revision as of 02:28, 12 September 2024 by AmasterAmaster (talk | contribs) (This is no longer a stub. Added a description. added field descriptions. added usage description.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Button Playback Seeker component as seen in the Scene Inspector


The ButtonPlaybackSeeker component takes in an IPlayable. When a user uses thier laser on an IButton that also has connections to a slider or set of values that allow it to slide, this component will determine how to interpret that interaction to the seek bar of the IPlayable media.

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.
Playback IPlayable The media to seek through.
Vertical Bool If true, the button will interpret the seek bar as vertical instead of horizontal.
Continuous Bool If true, allows the user to hold down the laser on the seek bar button and have it constantly change as the laser moves around.

Usage

This just gives extra functionality or options to control your media.

Examples

Related Components