imported>Mysticporo Created page with "<languages></languages> <translate> <!--T:1--> {{stub}} {{Infobox Component |Image=ITexture2DAssetMetadataComponent.png |Name=ITexture 2D Asset Metadata }} <!--T:2--> == Fiel..." |
m typo |
||
(3 intermediate revisions by 3 users 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| | |Texture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv0=true| The texture to read data for | ||
|Size|Int2| | |Size|{{RootFieldType|RawOutput`1|[[Type:Int2|Int2]]}}|TypeAdv1=true| The size of <code>Texture</code> | ||
|Width|Int| | |Width|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv2=true| width of <code>Texture</code> | ||
|Height|Int| | |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
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. |
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
|