FDirectLinkExternalSource

DirectLinkExternalSouce used for referencing DirectLink source at import.

Choose your operating system:

Windows

macOS

Linux

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

Name Description

Public function

FDirectLinkExternalSource

(
    const FSourceUri& InSourceUri
)

Destructors

Name Description

Public function Virtual

~FDirectLinkExternalSource()

Functions

Name Description

Public function

void

 

CloseStream()

Public function Const

const FGuid ...

 

GetDestinationHandle()

Protected function

TSharedPtr< ...

 

GetSceneReceiverInternal

(
    const DirectLink::IConnectionReques...
)

Used by GetSceneReceiver() to create a wrapper around the ISceneReceiver returned by this function.

Public function Const

const FGuid ...

 

GetSourceHandle()

Public function

void

 

Initialize

(
    const FString& InSourceName,
    const FGuid& InSourceHandle,
    const FGuid& InDestinationHandle
)

Initialize the FDirectLinkExternalSource after its creation.

Public function

void

 

Invalidate()

Clear all delegates and make this FDirectLinkExternalSource stale and unavailable.

Public function Const

bool

 

IsStreamOpen()

Public function

bool

 

OpenStream()

Try to open a DirectLink stream to the source.

Overridden from FExternalSource

Name Description

Public function Virtual Const

FExternalSou...

 

GetCapabilities()

Public function Virtual Const

FMD5Hash

 

GetSourceHash()

Gives the hash of the source, only returns a valid hash after loading the scene.

Public function Virtual Const

FString

 

GetSourceName()

Public function Virtual Const

bool

 

IsAvailable()

Return true if the resource pointed by this ExternalSource is available for being loaded.

Public function Virtual Const

bool

 

IsOutOfSync()

Return true if the loaded scene is out-of-sync and needs to be reloaded.

Protected function Virtual

TSharedPtr< ...

 

LoadImpl()

Synchronously load the DatasmithScene.

Protected function Virtual

bool

 

StartAsyncLoad()

Starts an async task for loading the DatasmithScene.

Overridden from IConnectionRequestHandler