UDatasmithSceneElement

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

DatasmithImporter

Header

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

Include

#include "DatasmithBlueprintLibrary.h"

Syntax

UCLASS()
class UDatasmithSceneElement : public UDatasmithSceneElementBase

Functions

Name Description

Public function Static UFunction BlueprintCallable, Category

UDatasmithSc...

 

ConstructDatasmithSceneFromCADFiles

(
    const TArray< FString >& FilePaths
)

Open set of CAD files as actors in a single datasmith scene Importing set of files into single DatasmithScene asset(with ImportScene) is supported only for CAD files

Public function Static UFunction BlueprintCallable, Category

UDatasmithSc...

 

ConstructDatasmithSceneFromFile

(
    const FString& FilePath
)

Open an existing UDatasmith file from disk.

Public function Static UFunction BlueprintCallable, Category

UDatasmithSc...

 

ConstructDatasmithSceneFromSourceUri

(
    const FString& SourceUri
)

Open an existing Datasmith source from the SourceUri.

Public function UFunction BlueprintCallable, Category

void

 

DestroyScene()

Destroy reference to the udatasmith file.

Public function UFunction BlueprintCallable, Category

TMap< UClass...

 

GetAllOptions()

List all the options structures applicable on this scene

Public function Static UFunction BlueprintCallable, Category

UDatasmithSc...

 

GetExistingDatasmithScene

(
    const FString& AssetPath
)

Open an existing DatasmithScene asset file from disk.

Public function UFunction BlueprintCallable, Category, Meta

UObject *...

 

GetOptions

(
    UClass* OptionType
)

Fetch the typed options for this scene

Public function UFunction BlueprintCallable, Category

FDatasmithIm...

 

ImportScene

(
    const FString& DestinationFolder
)

Import a Datasmith Scene created with ConstructDatasmithSceneFromFile.

Public function UFunction BlueprintCallable, Category

TArray< FDat...

 

ImportScenes

(
    const FString& DestinationFolder
)

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

Public function UFunction BlueprintCallable, Category

FDatasmithIm...

 

ReimportScene()

Reimport a scene opened with GetExistingDatasmithScene

Public function UFunction BlueprintCallable, Category

bool

 

TranslateScene()

Trigger the translation phase, which populates the DatasmithScene.

Deprecated Functions

Name Description

Public function UFunction BlueprintCallable, Category, Meta

UDatasmithIm...

 

GetImportOptions()

GetImportOptions is deprecated, use GetOptions instead.