Component image 
Sync Playback Editor component as seen in the Scene Inspector

The SyncPlaybackEditor component is used to interact with and modify the playback of a Sync playback like a video, animation, or a sound player.
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. Some components stop their functionality when this field is disabled, but some don't. |
_playback
|
direct RelayRef`1<SyncPlayback> | The playback to edit and influence with this component. |
_sliderValue
|
field drive of Float | The field to drive with the current playback of _playback
|
_loopToggleSprite
|
field drive of Uri | The sprite URI field of the toggle loop button. Used to switch between a loop and a play once icon URI. |
_speedField
|
FloatTextEditorParser | The field used to change the speed of the playback of _playback
|
_slider
|
Slider`1<Float> | The slider used to change the play head/position of _playback .
|
Sync Delegates
Method Name | Method type and Arguments. | Is the method hidden? | Description |
---|---|---|---|
Play:ButtonEventHandler
|
ButtonEventHandler | ✓ | Plays the playback of _playback
|
Pause:ButtonEventHandler
|
ButtonEventHandler | ✓ | Pauses the playback of _playback
|
Stop:ButtonEventHandler
|
ButtonEventHandler | ✓ | Stops the playback of _playback
|
ToggleLoop:ButtonEventHandler
|
ButtonEventHandler | ✓ | Toggles the looping property of the playback of _playback
|
Usage
Used commonly in inspectors and video players to allow interaction with playback fields directly.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.