FExternalSource::GetAssetTranslator

DISCLAIMER: The translator is exposed here as a temporary workaround in order to set the import option before the load and load assets with bulk data (StaticMeshes/LoadLevelSequence/etc.).

Choose your operating system:

Windows

macOS

Linux

References

Module

ExternalSource

Header

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

Include

#include "ExternalSource.h"

Source

/Engine/Plugins/Enterprise/DatasmithImporter/Source/ExternalSource/Private/ExternalSource.cpp

Syntax

const TSharedPtr< IDatasmithTranslator > & GetAssetTranslator()

Remarks

DISCLAIMER: The translator is exposed here as a temporary workaround in order to set the import option before the load and load assets with bulk data (StaticMeshes/LoadLevelSequence/etc.). We should not rely on this for anything else as this will be removed once Import options can be set directly on FExternalSource.