Component:DynamicSubtitleProvider

From Resonite Wiki
Revision as of 03:25, 30 December 2024 by 989onan (talk | contribs) (add an example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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