The '''TextureExportable''' allows you to make a [[StaticTexture2D (Component)|StaticTexture2D]] exportable through the files page in the [[Dash Menu|dash menu]].
The '''TextureExportable''' allows you to make a [[StaticTexture2D (Component)|StaticTexture2D]] exportable through the files page in the [[Dash Menu|dash menu]].
Line 22:
Line 19:
== Usage ==
== Usage ==
To use this component attach it to an object, than reference a Texture2D in the <code>Texture</code> field.
To use this component attach it to an object, than reference a Texture2D in the <code>Texture</code> field.
To use this component attach it to an object, than reference a Texture2D in the Texture field.
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.