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

Bases: unreal.BlueprintFunctionLibrary

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

See: UDatasmithVREDSceneElement

C++ Source:

  • Plugin: DatasmithFBXImporter
  • Module: DatasmithVREDImporter
  • File: DatasmithVREDBlueprintLibrary.h
classmethod import_(file_path, package_name, datasmith_import_options, vred_import_options, show_gui) → None

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

  • 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
  • vred_import_options (DatasmithVREDImportOptions) – Import options specific to VRED, 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