UDatasmithSceneElement::ImportScenes

Import a Datasmith Scene created with ConstructDatasmithSceneFromFiles into an array of scenes.

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")
TArray< FDatasmithImportFactoryCreateFileResult > ImportScenes
(
    const FString & DestinationFolder
)

Remarks

Import a Datasmith Scene created with ConstructDatasmithSceneFromFiles into an array of scenes.

Returns

An array of import results corresponding to array of input files

Parameters

Parameter

Description

DestinationFolder

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