UDatasmithSceneElement::ConstructDatasmithSceneFromSourceUri

Open an existing Datasmith source from the SourceUri.

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="Editor Scripting | Datasmith")
static UDatasmithSceneElement * ConstructDatasmithSceneFromSourceUri
(
    const FString & SourceUri
)

Remarks

Open an existing Datasmith source from the SourceUri.

Returns

The opened DatasmithScene, that can be modified and can be imported.

Parameters

Parameter

Description

SourceUri

Uri of the datasmith scene to open. ie: file://c:/MyFolder/MyFiles.udatasmith