FExternalSource::AsyncLoad

Load the external source asynchronously, the returned [TFuture](API\Runtime\Core\Async\TFuture) gives a valid [IDatasmithScene](API\Runtime\DatasmithCore\IDatasmithScene)[TSharedPtr](API\Runtime\Core\Templates\TSharedPtr) if successful.

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

TFuture< TSharedPtr< IDatasmithScene > > AsyncLoad()

Remarks

Load the external source asynchronously, the returned TFuture gives a valid IDatasmithSceneTSharedPtr if successful. The FExternalSource must have the FExternalSourceCapabilities::bSupportAsynchronousLoading enabled to call this.