Component:ITexture2DAssetMetadata: Difference between revisions

From Resonite Wiki
add info
m typo
 
Line 7: Line 7:
|Name=ITexture 2D Asset Metadata
|Name=ITexture 2D Asset Metadata
}}
}}
This component gives the info on the side of a Texture2D.
This component gives the info on the size of a Texture2D.


<!--T:2-->
<!--T:2-->

Latest revision as of 15:54, 25 October 2024


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


Component image 
ITexture 2D Asset Metadata component as seen in the Scene Inspector

This component gives the info on the size of a Texture2D.

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 ITexture2D The texture to read data for
Size raw output of Int2 The size of Texture
Width raw output of Int width of Texture
Height raw output of Int height of Texture

Usage

Examples

Related Components