Component:TextureExportable: Difference between revisions

From Resonite Wiki
mNo edit summary
mNo edit summary
Line 5: Line 5:


=== Introduction ===
=== Introduction ===
TextureExportable allows you to make a [[StaticTexture2D (Component)|StaticTexutre2D]] exportable.{{Infobox Component
TextureExportable allows you to make a [[StaticTexture2D (Component)|StaticTexture2D]] exportable through the files page in the [[Dash Menu|dash menu]].{{Infobox Component
|Image=TextureExportableComponent.png
|Image=TextureExportableComponent.png
|Name=Texture Exportable
|Name=Texture Exportable
Line 18: Line 18:
<!--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.


<!--T:4-->
== Examples ==
== Examples ==



Revision as of 08:16, 12 January 2024


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


Introduction

TextureExportable allows you to make a StaticTexture2D exportable through the files page in the dash menu.

Component image 
Texture Exportable component as seen in the Scene Inspector


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.
Texture IAssetProvider<Texture2D>

Usage

To use this component attach it to an object, than reference a Texture2D in the Texture field.

Examples

Related Components