Navigation
API > API/Plugins > API/Plugins/DirectLinkExtension
Inheritance Hierarchy
- TSharedFromThis
- FExternalSource
- FDirectLinkExternalSource
References
| Module | DirectLinkExtension |
| Header | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DirectLinkExtension/Public/DirectLinkExternalSource.h |
| Include | #include "DirectLinkExternalSource.h" |
Syntax
class FDirectLinkExternalSource :
public UE::DatasmithImporter::FExternalSource ,
public DirectLink::IConnectionRequestHandler
Remarks
DirectLinkExternalSouce used for referencing DirectLink source at import.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FDirectLinkExternalSource
(
const FSourceUri& InSourceUri |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| void | CloseStream () |
||
| const FGuid & | |||
| TSharedPtr< DirectLink::ISceneReceiver > | GetSceneReceiver
(
const DirectLink::IConnectionRequestHandler::FSourceInformation& Source |
||
| TSharedPtr< DirectLink::ISceneReceiver > | Used by GetSceneReceiver() to create a wrapper around the ISceneReceiver returned by this function. | ||
| const FGuid & | |||
| void | Initialize
(
const FString& InSourceName, |
Initialize the FDirectLinkExternalSource after its creation. | |
| void | Invalidate () |
Clear all delegates and make this FDirectLinkExternalSource stale and unavailable. | |
| bool | IsStreamOpen () |
||
| bool | OpenStream () |
Try to open a DirectLink stream to the source. |
Overridden from FExternalSource
| Type | Name | Description | |
|---|---|---|---|
| FExternalSourceCapabilities | |||
| FMD5Hash | Gives the hash of the source, only returns a valid hash after loading the scene. | ||
| FString | |||
| bool | IsAvailable () |
Return true if the resource pointed by this ExternalSource is available for being loaded. | |
| bool | IsOutOfSync () |
Return true if the loaded scene is out-of-sync and needs to be reloaded. | |
| TSharedPtr< IDatasmithScene > | LoadImpl () |
Synchronously load the DatasmithScene. | |
| bool | Starts an async task for loading the DatasmithScene. |