Navigation
API > API/Plugins > API/Plugins/DatasmithTranslator
Describe a source that can be processed by Datasmith to generate a scene.
| Name | FDatasmithSceneSource |
| Type | class |
| Header File | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithTranslator/Public/DatasmithSceneSource.h |
| Include Path | #include "DatasmithSceneSource.h" |
Syntax
class FDatasmithSceneSource
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FileExtension | FString | Extracted from the source file path. | DatasmithSceneSource.h | |
| FilePath | FString | Source path (can be relative) | DatasmithSceneSource.h | |
| SceneDeducedName | FString | Default name when not overriden. | DatasmithSceneSource.h | |
| SceneOverrideName | FString | Explicit name (overrides deduced name) | DatasmithSceneSource.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FString & GetSceneName() |
DatasmithSceneSource.h | ||
const FString & GetSourceFile() |
Get the file path for this source | DatasmithSceneSource.h | |
const FString & GetSourceFileExtension() |
Get the source file extension | DatasmithSceneSource.h | |
void SetSceneName
(
const FString& InSceneName |
Set a custom name for this scene. This overrides the default name deduced form the source file | DatasmithSceneSource.h | |
void SetSourceFile
(
const FString& InFilePath |
Set the path of the source | DatasmithSceneSource.h |