Navigation
API > API/Plugins > API/Plugins/DatasmithTranslator
Generic Scene exploration and realization API
| Name | IDatasmithTranslator |
| Type | class |
| Header File | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithTranslator/Public/DatasmithTranslator.h |
| Include Path | #include "DatasmithTranslator.h" |
Syntax
class IDatasmithTranslator
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IDatasmithTranslator() |
DatasmithTranslator.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SceneSource | FDatasmithSceneSource | DatasmithTranslator.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FName GetFName() |
DatasmithTranslator.h | ||
virtual void GetSceneImportOptions
(
TArray< TObjectPtr< UDatasmithOptionsBase > >& Options |
Get the additional scene import options. | DatasmithTranslator.h | |
virtual void GetSceneImportOptions
(
TArray< TStrongObjectPtr< UDatasmithOptionsBase > >& Options |
DatasmithTranslator.h | ||
const FDatasmithSceneSource & GetSource() |
DatasmithTranslator.h | ||
virtual void Initialize
(
FDatasmithTranslatorCapabilities& OutCapabilities |
Called to initialize this Translator instance | DatasmithTranslator.h | |
virtual bool IsSourceSupported
(
const FDatasmithSceneSource& Source |
Additional validation step to ensure the given file is supported (Optional) | DatasmithTranslator.h | |
virtual PRAGMA_DISABLE_DEPRECATION_WARNINGS bool LoadCloth
(
const TSharedRef< IDatasmithClothElement > ClothElement, |
Get payload related to the given Element | DatasmithTranslator.h | |
virtual bool LoadLevelSequence
(
const TSharedRef< IDatasmithLevelSequenceElement > LevelSequenceElement, |
Get payload related to the given Element | DatasmithTranslator.h | |
virtual bool LoadScene
(
TSharedRef< IDatasmithScene > OutScene |
Main feature of the translator system, convert source to a datasmith scene | DatasmithTranslator.h | |
virtual bool LoadStaticMesh
(
const TSharedRef< IDatasmithMeshElement > MeshElement, |
Get payload related to the given Element | DatasmithTranslator.h | |
virtual void SetSceneImportOptions
(
const TArray< TObjectPtr< UDatasmithOptionsBase > >& Options |
Values of additional options as entered by the user | DatasmithTranslator.h | |
virtual void SetSceneImportOptions
(
TArray< TStrongObjectPtr< UDatasmithOptionsBase > >& Options |
DatasmithTranslator.h | ||
void SetSource
(
const FDatasmithSceneSource& Source |
Beginning of a translator instance lifecycle: setup of the source | DatasmithTranslator.h | |
virtual void UnloadScene() |
Called when the scene loading is over. All translator resources can be released. | DatasmithTranslator.h |