Navigation
API > API/Plugins > API/Plugins/DatasmithImporter
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDatasmithSceneElementBase
- UDatasmithSceneElement
References
| Module | DatasmithImporter |
| Header | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithBlueprintLibrary.h |
| Include | #include "DatasmithBlueprintLibrary.h" |
Syntax
UCLASS&40;&41;
class UDatasmithSceneElement : public UDatasmithSceneElementBase
Functions
| Type | Name | Description | |
|---|---|---|---|
| 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 | |
| UDatasmithSceneElement * | ConstructDatasmithSceneFromFile
(
const FString& FilePath |
Open an existing UDatasmith file from disk. | |
| UDatasmithSceneElement * | ConstructDatasmithSceneFromSourceUri
(
const FString& SourceUri |
Open an existing Datasmith source from the SourceUri. | |
| void | DestroyScene () |
Destroy reference to the udatasmith file. | |
| TMap< UClass *, UObject * > | List all the options structures applicable on this scene | ||
| UDatasmithSceneElement * | GetExistingDatasmithScene
(
const FString& AssetPath |
Open an existing DatasmithScene asset file from disk. | |
| UObject * | GetOptions
(
UClass* OptionType |
Fetch the typed options for this scene | |
| FDatasmithImportFactoryCreateFileResult | ImportScene
(
const FString& DestinationFolder |
Import a Datasmith Scene created with ConstructDatasmithSceneFromFile. | |
| TArray< FDatasmithImportFactoryCreateFileResult > | ImportScenes
(
const FString& DestinationFolder |
Import a Datasmith Scene created with ConstructDatasmithSceneFromFiles into an array of scenes. | |
| FDatasmithImportFactoryCreateFileResult | Reimport a scene opened with GetExistingDatasmithScene | ||
| bool | Trigger the translation phase, which populates the DatasmithScene. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| UDatasmithImportOptions * | GetImportOptions is deprecated, use GetOptions instead. |