Navigation
API > API/Plugins > API/Plugins/USDPregenInterchange
Describes a single pregen import. Passed to FUSDPregenInterchangeModule::ImportFile and also exposed to Blueprint / Python via UUSDPregenBlueprintLibrary.
Forward-compatible with worker-driven imports that need to filter to a single target, apply permutation overlays, override plugins, etc.
| Name | FPregenImportOptions |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/USDPregen/Source/USDPregenInterchange/Public/USDPregenInterchangeModule.h |
| Include Path | #include "USDPregenInterchangeModule.h" |
Syntax
USTRUCT (BlueprintType )
struct FPregenImportOptions
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAutomated | bool | When true, ImportFile runs the underlying Interchange import in automated mode (FImportAssetParameters::bIsAutomated = true), which suppresses the modal pipeline-options dialog and any other UI prompts. | USDPregenInterchangeModule.h |
|
| bAutoSavePackages | bool | When true, ImportFile calls Storage->PersistManifestPayload(...) for each target whose manifest was Stored, AND saves imported asset packages to disk after import completes | USDPregenInterchangeModule.h |
|
| DiscoveryOptions | FPregenDiscoveryOptions | Options for the discovery plugin, including the name of the plugin to use. | USDPregenInterchangeModule.h |
|
| PermutationLayerPath | FString | Optional USD layer to sublayer onto the entry stage to apply permutation operations. | USDPregenInterchangeModule.h |
|
| SourceFilePath | FString | Required: USD file to import. | USDPregenInterchangeModule.h |
|
| StorageOptions | FPregenStorageOptions | Options for the storage plugin, including the name of the plugin to use. | USDPregenInterchangeModule.h |
|
| TargetUid | FString | Optional filter to import only a specific target. Empty means to import all discovered targets. | USDPregenInterchangeModule.h |
|
| Title | FString | Optional human-readable label for logs. | USDPregenInterchangeModule.h |
|