Component:DocumentAssetMetadata: Difference between revisions

From Resonite Wiki
add documentassetmetadata component
 
add info
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{stub}}
{{Infobox Component
|Image=DocumentAssetMetadata.png
|Name=Document Asset Metadata
}}
The '''DocumentAssetMetadata''' component gets data about a provided document asset.
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Document|IAssetProvider`Document|
|Document|{{RootFieldType|AssetRef`1|[[Type:Document|Document]]}}|TypeAdv0=true| The document (usually PDF) that info is being acquired from.
|PageCount|Int|
|PageCount|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv1=true| The page count of the document.
}}
}}


== Usage ==
{{stub}}
== Examples ==
{{stub}}
== See Also ==


[[Category:Components:Assets:Utility]]
[[Category:Components:Assets:Utility{{#translation:}}|Document Asset Metadata]]
[[Category:Components{{#translation:}}|Document Asset Metadata]]

Latest revision as of 00:26, 13 January 2025

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

Component image 
Document Asset Metadata component as seen in the Scene Inspector

The DocumentAssetMetadata component gets data about a provided document asset.

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.
Document Document The document (usually PDF) that info is being acquired from.
PageCount raw output of Int The page count of the document.

Usage

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

Examples

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

See Also