Component:ButtonPlaybackSeeker: Difference between revisions

From Resonite Wiki
Automated: update Categories
This is no longer a stub. Added a description. added field descriptions. added usage description.
 
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=ButtonPlaybackSeekerComponent.png
|Image=ButtonPlaybackSeekerComponent.png
|Name=Button Playback Seeker
|Name=Button Playback Seeker
}}
}}
The '''ButtonPlaybackSeeker''' component takes in an [[Type:IPlayable|IPlayable]]. When a user uses thier laser on an [[Type:IButton|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.


<!--T:2-->
<!--T:2-->
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Playback|IPlayable|
|Playback|IPlayable| The media to seek through.
|Vertical|Bool|
|Vertical|Bool| If true, the button will interpret the seek bar as vertical instead of horizontal.
|Continuous|Bool|
|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.
}}
}}


<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
This just gives extra functionality or options to control your media.


<!--T:4-->
<!--T:4-->
Line 25: Line 27:
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components:Common UI:Button Interactions:Media{{#translation:}}|Button Playback Seeker]]
[[Category:Components:Common UI:Button Interactions:Media{{#translation:}}|Button Playback Seeker]]
[[Category:Components{{#translation:}}|Button Playback Seeker]]
[[Category:Components{{#translation:}}|Button Playback Seeker]]

Latest revision as of 02:28, 12 September 2024

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