unreal.DatasmithDeltaGenBlueprintLibrary

class unreal.DatasmithDeltaGenBlueprintLibrary(outer=None, name='None')

Bases: unreal.BlueprintFunctionLibrary

Library of functions that can be used by Blueprints and Python to trigger DeltaGen scene imports. This library handles importing directly into assets and scene actors.

See: UDatasmithDeltaGenSceneElement

C++ Source:

  • Plugin: DatasmithFBXImporter
  • Module: DatasmithDeltaGenImporter
  • File: DatasmithDeltaGenBlueprintLibrary.h
classmethod import_(file_path, package_name, datasmith_import_options, delta_gen_import_options, show_gui) → None

Open an existing DeltaGen scene file from disk, create assets and import it directly to the scene

Parameters:
  • file_path (str) – FBX file path to open (example: c:/MyFolder/MyFiles.fbx)
  • package_name (str) – Content folder to import to (example: /Game/ImportedScenes)
  • datasmith_import_options (DatasmithImportBaseOptions) – Base datasmith import options, like whether to import geometry, materials, etc
  • delta_gen_import_options (DatasmithDeltaGenImportOptions) – Import options specific to DeltaGen, like whether to import variants or not. Can be nullptr/None
  • show_gui (bool) – Whether to show the import options GUI during import. The chosen options will overwrite the passed in import options