Navigation
API > API/Plugins > API/Plugins/DatasmithTranslator
Wrap a source with an adapted translator. This scopes the lifecycle of a translator,
| Name | FDatasmithTranslatableSceneSource |
| Type | struct |
| Header File | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithTranslator/Public/DatasmithTranslatableSource.h |
| Include Path | #include "DatasmithTranslatableSource.h" |
Syntax
struct FDatasmithTranslatableSceneSource
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDatasmithTranslatableSceneSource
(
const FDatasmithSceneSource& Source |
DatasmithTranslatableSource.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FDatasmithTranslatableSceneSource() |
DatasmithTranslatableSource.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SceneGuard | TUniquePtr< FDatasmithSceneGuard > | Internal helper to release scene | DatasmithTranslatableSource.h | |
| Translator | TSharedPtr< IDatasmithTranslator > | Translator currently in use (null when not importing) | DatasmithTranslatableSource.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedPtr< IDatasmithTranslator > GetTranslator() |
DatasmithTranslatableSource.h | ||
bool IsTranslatable() |
DatasmithTranslatableSource.h | ||
bool Translate
(
TSharedRef< IDatasmithScene > Scene |
DatasmithTranslatableSource.h |