IDatasmithTranslator

Generic Scene exploration and realization API

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

DatasmithTranslator

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithTranslator/Public/DatasmithTranslator.h

Include

#include "DatasmithTranslator.h"

Syntax

class IDatasmithTranslator

Remarks

Generic Scene exploration and realization API

Destructors

Name Description

Public function Virtual

~IDatasmithTranslator()

Functions

Name Description

Public function Const

FName

 

GetFName()

Public function Virtual

void

 

GetSceneImportOptions

Get the additional scene import options.

Public function Const

const FDatas...

 

GetSource()

Public function Virtual

void

 

Initialize

Called on the CDO to initialize this Translator implementation

Public function Virtual

bool

 

IsSourceSupported

(
    const FDatasmithSceneSource& Sourc...
)

Called on the CDO, additional validation step to ensure the given file is supported (Optional)

Public function Virtual

bool

 

LoadLevelSequence

(
    const TSharedRef< IDatasmithLevelSe...,
    FDatasmithLevelSequencePayload& Ou...
)

Get payload related to the given Element

Public function Virtual

bool

 

LoadScene

(
    TSharedRef< IDatasmithScene > OutSc...
)

Main feature of the translator system, convert source to a datasmith scene

Public function Virtual

bool

 

LoadStaticMesh

(
    const TSharedRef< IDatasmithMeshEle...,
    FDatasmithMeshElementPayload& OutM...
)

Get payload related to the given Element

Public function Virtual

void

 

SetSceneImportOptions

Values of additional options as entered by the user

Public function

void

 

SetSource

(
    const FDatasmithSceneSource& Sourc...
)

Beginning of a translator instance lifecycle: setup of the source

Public function Virtual

void

 

UnloadScene()

Called when the scene loading is over. All translator resources can be released.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss