Automated: create new component page |
add an example |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|Name=Dynamic Subtitle Provider | |Name=Dynamic Subtitle Provider | ||
}} | }} | ||
The '''DynamicSubtitleProvider''' component is used to provide subtitles on videos that are playing in world. | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|HighPriorityIntegration|Bool| | |HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}} | ||
|AssetURL|Uri| | |AssetURL|Uri| The URI to the subtitle file. | ||
}} | }} | ||
== | == Usage == | ||
== 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 == | ||
Line 19: | Line 20: | ||
[[Category:Components:Assets:Procedural Animations{{#translation:}}|Dynamic Subtitle Provider]] | [[Category:Components:Assets:Procedural Animations{{#translation:}}|Dynamic Subtitle Provider]] | ||
[[Category:Components{{#translation:}}|Dynamic Subtitle Provider]] | [[Category:Components{{#translation:}}|Dynamic Subtitle Provider]] | ||
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
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. |
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.