Component:Texture2DAssetMetadata: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page Texture2DAssetMetadata (Component) to Component:Texture2DAssetMetadata: Creating component Namespace
Automated: update component fields
 
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