Navigation
API > API/Plugins > API/Plugins/DatasmithImporter
| Name | UDatasmithSceneElement |
| Type | class |
| Header File | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithBlueprintLibrary.h |
| Include Path | #include "DatasmithBlueprintLibrary.h" |
Syntax
UCLASS ()
class UDatasmithSceneElement : public UDatasmithSceneElementBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDatasmithSceneElementBase → UDatasmithSceneElement
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bMultifile | bool | DatasmithBlueprintLibrary.h | ||
| bTranslated | bool | DatasmithBlueprintLibrary.h | ||
| ExternalSourcePtr | TSharedPtr< UE::DatasmithImporter::FExternalSource > | DatasmithBlueprintLibrary.h | ||
| FilePaths | TArray< FString > | DatasmithBlueprintLibrary.h | ||
| ImportContextPtr | TUniquePtr< FDatasmithImportContext > | DatasmithBlueprintLibrary.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DestroyScene () |
Destroy reference to the udatasmith file. | DatasmithBlueprintLibrary.h |
|
| List all the options structures applicable on this scene | DatasmithBlueprintLibrary.h |
|
|
UDatasmithImportOptions * GetImportOptions() |
DatasmithBlueprintLibrary.h |
|
|
| Fetch the typed options for this scene | DatasmithBlueprintLibrary.h |
|
|
FDatasmithImportFactoryCreateFileResult ImportScene
(
const FString& DestinationFolder |
Import a Datasmith Scene created with ConstructDatasmithSceneFromFile. | DatasmithBlueprintLibrary.h |
|
TArray< FDatasmithImportFactoryCreateFileResult > ImportScenes
(
const FString& DestinationFolder |
Import a Datasmith Scene created with ConstructDatasmithSceneFromFiles into an array of scenes. | DatasmithBlueprintLibrary.h |
|
FDatasmithImportFactoryCreateFileResult ReimportScene() |
Reimport a scene opened with GetExistingDatasmithScene | DatasmithBlueprintLibrary.h |
|
bool TranslateScene () |
Trigger the translation phase, which populates the DatasmithScene. | DatasmithBlueprintLibrary.h |
|
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UDatasmithSceneElement * 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 | DatasmithBlueprintLibrary.h |
|
static UDatasmithSceneElement * ConstructDatasmithSceneFromFile
(
const FString& FilePath |
Open an existing UDatasmith file from disk. | DatasmithBlueprintLibrary.h |
|
static UDatasmithSceneElement * ConstructDatasmithSceneFromSourceUri
(
const FString& SourceUri |
Open an existing Datasmith source from the SourceUri. | DatasmithBlueprintLibrary.h |
|
static UDatasmithSceneElement * GetExistingDatasmithScene
(
const FString& AssetPath |
Open an existing DatasmithScene asset file from disk. | DatasmithBlueprintLibrary.h |
|