Component:TextureExportable: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page TextureExportable (Component) to Component:TextureExportable: Creating component Namespace
Automated: update component fields
Line 13: Line 13:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Texture|IAssetProvider`1|TypeString0=IAssetProvider<Texture2D>|
|Texture|Texture2D|
}}
}}



Revision as of 03:44, 1 March 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 Texture2D

Usage

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

Examples

Related Components