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
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.