unreal.UsdMetadataExportOptions

class unreal.UsdMetadataExportOptions(export_asset_info: bool = False, export_asset_metadata: bool = False, export_component_metadata: bool = False, blocked_prefix_filters: None = [], invert_filters: bool = False)

Bases: StructBase

Usd Metadata Export Options

C++ Source:

  • Plugin: USDImporter

  • Module: USDExporter

  • File: USDMetadataExportOptions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • blocked_prefix_filters (Array[str]): [Read-Write] When exporting metadata, we will ignore all entries that start with these prefixes. Note that you can use the “:” separator for nested dictionaries in USD.

  • export_asset_info (bool): [Read-Write] Export generic assetInfo when exporting assets (such as export time, engine version, etc.). Note that exporting assetInfo is required in order to avoid the re-export of identical assets to the same file.

  • export_asset_metadata (bool): [Read-Write] Export metadata held on assets’ UsdAssetUserData to the output prim. Note that metadata is always exported afterwards assetInfo, which means that if assetInfo entries are specified within the collected metadata, those will override the automatically generated assetInfo vallues

  • export_component_metadata (bool): [Read-Write] Export metadata held on components’ UsdAssetUserData to the output prims. This only has an effect for Level/LevelSequence exports.

  • invert_filters (bool): [Read-Write] When this is false (default), the “BlockedPrefixFilters” property describe prefixes to block, and metadata entries that match any of those prefixes are ignored and not exported. When this is true, the “BlockedPrefixFilters” property is inverted, and describes prefixes to allow. In that case, entries are only allowed and exported if they match at least one of the provided prefixes.

property blocked_prefix_filters: None

[Read-Write] When exporting metadata, we will ignore all entries that start with these prefixes. Note that you can use the “:” separator for nested dictionaries in USD.

Type:

(Array[str])

property export_asset_info: bool

[Read-Write] Export generic assetInfo when exporting assets (such as export time, engine version, etc.). Note that exporting assetInfo is required in order to avoid the re-export of identical assets to the same file.

Type:

(bool)

property export_asset_metadata: bool

[Read-Write] Export metadata held on assets’ UsdAssetUserData to the output prim. Note that metadata is always exported afterwards assetInfo, which means that if assetInfo entries are specified within the collected metadata, those will override the automatically generated assetInfo vallues

Type:

(bool)

property export_component_metadata: bool

[Read-Write] Export metadata held on components’ UsdAssetUserData to the output prims. This only has an effect for Level/LevelSequence exports.

Type:

(bool)

property invert_filters: bool

[Read-Write] When this is false (default), the “BlockedPrefixFilters” property describe prefixes to block, and metadata entries that match any of those prefixes are ignored and not exported. When this is true, the “BlockedPrefixFilters” property is inverted, and describes prefixes to allow. In that case, entries are only allowed and exported if they match at least one of the provided prefixes.

Type:

(bool)