Component:ProceduralAssetMetadata: Difference between revisions

From Resonite Wiki
move pls
add Component image box
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox Component
|Image=ProceduralAssetMetadataComponent.png
|Name=Procedural Asset Metadata
}}
The ProceduralAssetMetadata component is shown in the inspector for procedural meshes and textures.<ref>Component was given this functionality in [[Beta 2024.1.12.1336]]</ref>
The ProceduralAssetMetadata component is shown in the inspector for procedural meshes and textures.<ref>Component was given this functionality in [[Beta 2024.1.12.1336]]</ref>


== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Asset|Mesh|
|Asset|'''[[Type:ProceduralAssetProvider`1|ProceduralAssetProvider`1]]&lt;A&gt;'''|TypeAdv0=true| The procedural asset to get data on.
|UpdateCount|Int|
|UpdateCount|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv1=true| How many times <code>Asset</code> has been updated since generation.
|Error|Bool|
|Error|{{RootFieldType|RawOutput`1|[[Type:Bool|Bool]]}}|TypeAdv2=true| Whether <code>Asset</code> ran into an error when generating.
}}
}}




[[Category:ComponentStubs]]
[[Category:Components:Assets:Utility{{#translation:}}|Procedural Asset Metadata`1]]
[[Category:Components{{#translation:}}|Procedural Asset Metadata`1]]
[[Category:Generic Components{{#translation:}}|Procedural Asset Metadata`1]]

Latest revision as of 20:48, 21 January 2025

Component image 
File:ProceduralAssetMetadataComponent.png
Procedural Asset Metadata component as seen in the Scene Inspector


The ProceduralAssetMetadata component is shown in the inspector for procedural meshes and textures.[1]

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. Some components stop their functionality when this field is disabled, but some don't.
Asset ProceduralAssetProvider`1<A> The procedural asset to get data on.
UpdateCount raw output of Int How many times Asset has been updated since generation.
Error raw output of Bool Whether Asset ran into an error when generating.
  1. Component was given this functionality in Beta 2024.1.12.1336