Component:DynamicSubtitleProvider: Difference between revisions

From Resonite Wiki
add info
add an example
 
Line 14: Line 14:


== Examples ==
== Examples ==
Providing a url to this component and using it in an [[Component:Animator|Animator]] to drive text synchronized using a [[Component:PlaybackSynchronizer|PlaybackSynchronizer]] with a video, it can show subtitles.


== See Also ==
== See Also ==

Latest revision as of 03:25, 30 December 2024

Component image 
Dynamic Subtitle Provider component as seen in the Scene Inspector

The DynamicSubtitleProvider component is used to provide subtitles on videos that are playing in world.

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.
HighPriorityIntegration Bool If true, integrating this asset (e.g. processing procedural assets) gets higher priority than assets with this flag off. An example is user laser procedural meshes.
AssetURL Uri The URI to the subtitle file.

Usage

Examples

Providing a url to this component and using it in an Animator to drive text synchronized using a PlaybackSynchronizer with a video, it can show subtitles.

See Also