Automated: update component fields |
m typo |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
|Name=ITexture 2D Asset Metadata | |Name=ITexture 2D Asset Metadata | ||
}} | }} | ||
This component gives the info on the size of a Texture2D. | |||
<!--T:2--> | <!--T:2--> | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Texture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv0=true| | |Texture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv0=true| The texture to read data for | ||
|Size|{{RootFieldType|RawOutput`1|[[Type:Int2|Int2]]}}|TypeAdv1=true| | |Size|{{RootFieldType|RawOutput`1|[[Type:Int2|Int2]]}}|TypeAdv1=true| The size of <code>Texture</code> | ||
|Width|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv2=true| | |Width|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv2=true| width of <code>Texture</code> | ||
|Height|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv3=true| | |Height|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv3=true| height of <code>Texture</code> | ||
}} | }} | ||
Line 26: | Line 27: | ||
== Related Components == | == Related Components == | ||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|ITexture 2D Asset Metadata]] | [[Category:Components{{#translation:}}|ITexture 2D Asset Metadata]] | ||
[[Category:Components:Assets:Utility{{#translation:}}|ITexture 2D Asset Metadata]] | [[Category:Components:Assets:Utility{{#translation:}}|ITexture 2D Asset Metadata]] |
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
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. Some components stop their functionality when this field is disabled, but some don't. |
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
|