UDatasmithSceneElement::ImportScene

Import a Datasmith Scene created with ConstructDatasmithSceneFromFile.

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](Programming/UnrealArchitecture/Reference/Functions)(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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss