UDatasmithSceneElement::ImportScene

Import a Datasmith Scene created with ConstructDatasmithSceneFromFile.

Choose your operating system:

Windows

macOS

Linux

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithBlueprintLibrary.h

Include

#include "DatasmithBlueprintLibrary.h"

Source

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/DatasmithBlueprintLibrary.cpp

Syntax

UFUNCTION(BlueprintCallable, Category="Datasmith | Scene")
FDatasmithImportFactoryCreateFileResult ImportScene
(
    const FString & DestinationFolder
)

Remarks

Import a Datasmith Scene created with ConstructDatasmithSceneFromFile.

Returns

A structure that contains the created actor or the blueprint actor depending of the options specified at the import.

Parameters

Parameter

Description

DestinationFolder

Destination of where you want the asset to be imported. ie: /Game/MyFolder1