Component:StaticBinary: Difference between revisions

From Resonite Wiki
imported>Mysticporo
Created page with "<languages></languages> <translate> <!--T:1--> {{stub}} {{Infobox Component |Image=StaticBinaryComponent.png |Name=Static Binary }} <!--T:2--> == Fields == {{Table ComponentF..."
 
added url info
 
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:
|Name=Static Binary
|Name=Static Binary
}}
}}
The '''StaticBinary''' component is used to take in a [[Type:Uri|URL]] and treats it like a [[Type:Binary|Binary]] type, mostly used by other components.


<!--T:2-->
<!--T:2-->
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|URL|Uri|
|URL|Uri| The url to point to as being a binary for this component.
}}
}}


<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
This component can be combined with the [[Component:BinaryExportable|BinaryExportable]] component to allow for exporting the [[Slot]] as a binary file on your device.


<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
This component can be combined with the [[Component:FileMetadata|FileMetadata]] component as part of how [[Cloud Spawning]] works.


<!--T:5-->
<!--T:5-->
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Static Binary]]
[[Category:Components{{#translation:}}|Static Binary]]
[[Category:Components:Assets{{#translation:}}|Static Binary]]
[[Category:Components:Assets{{#translation:}}|Static Binary]]

Latest revision as of 01:02, 29 October 2024


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


Component image 
Static Binary component as seen in the Scene Inspector


The StaticBinary component is used to take in a URL and treats it like a Binary type, mostly used by other components.

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.
URL Uri The url to point to as being a binary for this component.

Usage

This component can be combined with the BinaryExportable component to allow for exporting the Slot as a binary file on your device.


Examples

This component can be combined with the FileMetadata component as part of how Cloud Spawning works.

Related Components