Component:Texture2DAssetMetadata: Difference between revisions

From Resonite Wiki
imported>Mysticporo
Created page with "<languages></languages> <translate> <!--T:1--> {{stub}} {{Infobox Component |Image=Texture2DAssetMetadataComponent.png |Name=Texture 2D Asset Metadata }} <!--T:2--> == Fields..."
 
Automated: update component fields
 
(One intermediate revision by one other user not shown)
Line 11: Line 11:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Texture|IAssetProvider`1|TypeString0=IAssetProvider<Texture2D>|
|Texture|{{RootFieldType|AssetRef`1|[[Type:Texture2D|Texture2D]]}}|TypeAdv0=true|
|Size|Int2|
|Size|{{RootFieldType|RawOutput`1|[[Type:Int2|Int2]]}}|TypeAdv1=true|
|Width|Int|
|Width|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv2=true|
|Height|Int|
|Height|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv3=true|
|HasMipMaps|Bool|
|HasMipMaps|{{RootFieldType|RawOutput`1|[[Type:Bool|Bool]]}}|TypeAdv4=true|
|MipMapCount|Int|
|MipMapCount|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv5=true|
|MemoryBytes|Long|
|MemoryBytes|{{RootFieldType|RawOutput`1|[[Type:Long|Long]]}}|TypeAdv6=true|
|FormattedMemoryBytes|String|
|FormattedMemoryBytes|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv7=true|
|Format|TextureFormat|
|Format|{{RootFieldType|RawOutput`1|[[Type:TextureFormat|TextureFormat]]}}|TypeAdv8=true|
|ActualLoadedVariant|String|
|ActualLoadedVariant|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv9=true|
|Profile|{{RootFieldType|RawOutput`1|[[Type:ColorProfile|ColorProfile]]}}|TypeAdv10=true|
}}
}}



Latest revision as of 10:28, 1 March 2024


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


Component image 
Texture 2D Asset Metadata 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
Size raw output of Int2
Width raw output of Int
Height raw output of Int
HasMipMaps raw output of Bool
MipMapCount raw output of Int
MemoryBytes raw output of Long
FormattedMemoryBytes raw output of String
Format raw output of TextureFormat
ActualLoadedVariant raw output of String
Profile raw output of ColorProfile

Usage

Examples

Related Components