mNo edit summary |
Removed introduction header. Fixed description. Updated field description. |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
{{stub}} | {{stub}} | ||
{{Infobox Component | |||
|Image=TextureExportableComponent.png | |Image=TextureExportableComponent.png | ||
|Name=Texture Exportable | |Name=Texture Exportable | ||
}} | }} | ||
The '''TextureExportable''' allows you to make a [[StaticTexture2D (Component)|StaticTexture2D]] exportable through the files page in the [[Dash Menu|dash menu]]. | |||
To export using this component, look at the [[File Browser#Importing And Exporting|file browser export section]]. | |||
<!--T:2--> | <!--T:2--> | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Texture| | |Texture|{{RootFieldType|AssetRef`1|[[Type:Texture2D|Texture2D]]}}|TypeAdv0=true| The texture to be exported. | ||
}} | }} | ||
<!--T:3--> | <!--T:3--> | ||
== Usage == | == Usage == | ||
To use this component attach it to an object, than reference a Texture2D in the <code>Texture</code> field. | |||
== Examples == | == Examples == | ||
Latest revision as of 02:29, 7 July 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
The TextureExportable allows you to make a StaticTexture2D exportable through the files page in the dash menu.
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. |
Texture
|
Texture2D | The texture to be exported. |
Usage
To use this component attach it to an object, than reference a Texture2D in the Texture
field.