Component:BinaryExportable: Difference between revisions

From Resonite Wiki
Automated: update component fields
Added a description and usage.
Line 7: Line 7:
|Name=Binary Exportable
|Name=Binary Exportable
}}
}}
The '''BinaryExportable''' component takes in a [[Type:Binary|Binary]] asset and allows the [[Slot]] to be exportable as a binary file on your device.
This is more of an uncommon way to export your files, but there are a couple of [[Component:BinaryExportable#Usage|uses]] that are useful to know.


<!--T:2-->
<!--T:2-->
Line 16: Line 20:
<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
Using this component with the [[Component:StaticBinary|StaticBinary]] component, allows the user to export a binary file with a provided [[Type:Uri|url]].
Keep in mind that exporting a binary file is one-way currently in [[Resonite]] (especially if you are thinking about local storage), this is due to the fact that Resonite uses the <code>.bin</code> as files that it does not recognize. So importing from a binary raw file is not doable.


<!--T:4-->
<!--T:4-->

Revision as of 23:24, 6 July 2024


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


Component image 
Binary Exportable component as seen in the Scene Inspector


The BinaryExportable component takes in a Binary asset and allows the Slot to be exportable as a binary file on your device.

This is more of an uncommon way to export your files, but there are a couple of uses that are useful to know.

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

Usage

Using this component with the StaticBinary component, allows the user to export a binary file with a provided url.

Keep in mind that exporting a binary file is one-way currently in Resonite (especially if you are thinking about local storage), this is due to the fact that Resonite uses the .bin as files that it does not recognize. So importing from a binary raw file is not doable.

Examples

Related Components