Component:VideoExportable

From Resonite Wiki
Revision as of 17:37, 13 November 2024 by 989onan (talk | contribs) (not a stub. added related and more usage.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Video Exportable component as seen in the Scene Inspector


The VideoExportable component is used to export a Video Texture as a video file for your device.

To export using this component, look at the file browser export section.

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.
Video VideoTexture The video asset to be exported.

Usage

Using this will allow you to export videos. However, only some types of videos can be exported. Videos that were imported from a computer can be exported (.mp3 and .mp4 file types). Videos that seem to fail the exporting process are Youtube videos or streaming videos, as they not only fail to export a video file, they instead export a text file (which seems to be html).

This component is used mainly to add an export option to the user's context menu as they are holding an item. Which can be used to easily communicate to the user that an item is made for exporting to their local machine. For example, screenshots, figurines, pictures, recorded audio clips, some generated text from protoflux, and Avatars can have Asset exportables like this component to signify that they can be downloaded to one's local storage.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


See Also