Navigation
API > API/Runtime > API/Runtime/LiveLinkInterface
Inheritance Hierarchy
- ILiveLinkClient_Base_DEPRECATED
- ILiveLinkClient
- FLiveLinkClient_Base_DEPRECATED
- FLiveLinkClient
References
| Module | LiveLinkInterface |
| Header | /Engine/Source/Runtime/LiveLinkInterface/Public/ILiveLinkClient.h |
| Include | #include "ILiveLinkClient.h" |
Syntax
class ILiveLinkClient : public ILiveLinkClient_Base_DEPRECATED
Remarks
Interface for streaming and consuming data from external sources into UE4. A LiveLinkSource, may stream multiple LiveLinkSubject. Pushing and evaluating data can be executed on any thread. The other functions must be executed on the Game Thread. Subject may shared name between sources, but only 1 of those subjects may be enabled.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FGuid | AddSource
(
TSharedPtr< ILiveLinkSource > Source |
Add a new live link source to the client | |
| bool | AddVirtualSubject
(
const FLiveLinkSubjectKey& VirtualSubjectKey, |
Add a new virtual subject to the client | |
| FGuid | AddVirtualSubjectSource
(
FName SourceName |
Add a new live link VirtualSubject source to the client | |
| void | Clear all subjects frames | ||
| void | ClearSubjectsFrames_AnyThread
(
const FLiveLinkSubjectKey& SubjectKey |
Clear the stored frames associated with the subject | |
| void | ClearSubjectsFrames_AnyThread
(
FLiveLinkSubjectName SubjectName |
Clear the stored frames associated with the enabled subject | |
| bool | CreateSource
(
const FLiveLinkSourcePreset& SourcePreset |
Create from the factory a new live link source and add it to the client. | |
| bool | CreateSubject
(
const FLiveLinkSubjectPreset& SubjectPreset |
Create and add a new live link subject to the client | |
| bool | DoesSubjectSupportsRole_AnyThread
(
const FLiveLinkSubjectKey& SubjectKey, |
Whether a subject support a particular role, either directly or through a translator | |
| bool | DoesSubjectSupportsRole_AnyThread
(
FLiveLinkSubjectName SubjectName, |
Whether a subject support a particular role, either directly or through a translator | |
| bool | EvaluateFrame_AnyThread
(
FLiveLinkSubjectName SubjectName, |
Return the evaluated subject snapshot for a specific role. | |
| bool | EvaluateFrameAtSceneTime_AnyThread
(
FLiveLinkSubjectName SubjectName, |
Evaluates a subject for a specific role at a scene time. | |
| bool | EvaluateFrameAtWorldTime_AnyThread
(
FLiveLinkSubjectName SubjectName, |
Evaluates a subject for a specific role. | |
| bool | EvaluateFrameFromSource_AnyThread
(
const FLiveLinkSubjectKey& SubjectKey, |
Return the evaluated subject from a specific source snapshot for a specific role. | |
| void | ForceTick () |
Performs an internal Tick(). | |
| FLiveLinkSourcePreset | GetSourcePreset
(
FGuid SourceGuid, |
Get the source preset from the live link client. | |
| TArray< FGuid > | GetSources
(
bool bEvenIfPendingKill |
Get a list of all the sources | |
| ULiveLinkSourceSettings * | GetSourceSettings
(
const FGuid& SourceKey |
Get the Settings of this source. | |
| FText | GetSourceType
(
FGuid SourceGuid |
Get the type of a source | |
| TArray< FLiveLinkTime > | GetSubjectFrameTimes
(
const FLiveLinkSubjectKey& SubjectKey |
Get the time of all the frames for a specific subject, including computed offsets. | |
| TArray< FLiveLinkTime > | GetSubjectFrameTimes
(
FLiveLinkSubjectName SubjectName |
Get the time of all the frames for a specific subject, including computed offsets. | |
| FLiveLinkSubjectPreset | GetSubjectPreset
(
const FLiveLinkSubjectKey& SubjectKey, |
Get the subject preset from the live link client. | |
| TSubclassOf< ULiveLinkRole > | GetSubjectRole_AnyThread
(
const FLiveLinkSubjectKey& SubjectKey |
Get the role of a subject from a specific source | |
| TSubclassOf< ULiveLinkRole > | GetSubjectRole_AnyThread
(
FLiveLinkSubjectName SubjectName |
Get the role of the subject with this name | |
| TArray< FLiveLinkSubjectKey > | GetSubjects
(
bool bIncludeDisabledSubject, |
Get a list of all subjects | |
| UObject * | GetSubjectSettings
(
const FLiveLinkSubjectKey& SubjectKey |
Get the Settings of this subject. | |
| TArray< FLiveLinkSubjectKey > | GetSubjectsSupportingRole
(
TSubclassOf< ULiveLinkRole > SupportedRole, |
Get a list of name of subjects supporting a certain role | |
| TArray< FGuid > | GetVirtualSources
(
bool bEvenIfPendingKill |
Get a list of all the VirtualSubjects sources | |
| bool | HasSourceBeenAdded
(
TSharedPtr< ILiveLinkSource > Source |
Is the source been added | |
| bool | IsSubjectEnabled
(
FLiveLinkSubjectName SubjectName |
Whether or not the client has a subject with this name enabled Only 1 subject with the same name can be enabled. | |
| bool | IsSubjectEnabled
(
const FLiveLinkSubjectKey& SubjectKey, |
Whether or not a subject from the specific source is the enabled subject. | |
| bool | IsSubjectTimeSynchronized
(
FLiveLinkSubjectName SubjectName |
Whether or not the subject's data is time synchronized or not | |
| bool | IsSubjectTimeSynchronized
(
const FLiveLinkSubjectKey& SubjectKey |
Whether or not the subject's data, from a specific source, is time synchronized or not | |
| bool | IsSubjectValid
(
FLiveLinkSubjectName SubjectName |
Whether or not the client has a subject with this name that is valid and has valid snapshot data | |
| bool | IsSubjectValid
(
const FLiveLinkSubjectKey& SubjectKey |
Whether or not a subject from a specific source is valid and has valid snapshot data | |
| bool | IsVirtualSubject
(
const FLiveLinkSubjectKey& SubjectKey |
Whether the subject key points to a virtual subject | |
| FOnLiveLinkSourceChangedDelegate & | Notify when a new source has been added | ||
| FOnLiveLinkSourceChangedDelegate & | Notify when a source has been removed | ||
| FSimpleMulticastDelegate & | Notify when the list of sources has changed. | ||
| FOnLiveLinkSubjectChangedDelegate & | Notify when a new subject has been added | ||
| FOnLiveLinkSubjectEvaluated & | Notify the debug interface when a subject has been evaluated. | ||
| FOnLiveLinkSubjectChangedDelegate & | Notify when a subject has been removed | ||
| FSimpleMulticastDelegate & | Notify when the list of subject has changed. | ||
| FSimpleMulticastDelegate & | Notify when the LiveLinkClient has ticked. | ||
| void | PushSubjectFrameData_AnyThread
(
const FLiveLinkSubjectKey& SubjectKey, |
Push frame data for a specific subject for a certain role | |
| void | PushSubjectStaticData_AnyThread
(
const FLiveLinkSubjectKey& SubjectKey, |
Push static data for a specific subject for a certain role. This will clear all buffered frames | |
| void | RegisterForFrameDataReceived
(
const FLiveLinkSubjectKey& InSubjectKey, |
Register for when a frame data was received. | |
| bool | RegisterForSubjectFrames
(
FLiveLinkSubjectName SubjectName, |
Register for when a frame has been validated, added and ready to be used. | |
| void | RemoveSource
(
TSharedPtr< ILiveLinkSource > Source |
Remove the specified source from the live link client | |
| void | RemoveSource
(
FGuid SourceGuid |
Remove the source specified by the source Id from the live link client | |
| void | RemoveSubject_AnyThread
(
const FLiveLinkSubjectKey& SubjectName |
Clear the subject from the specific source | |
| void | RemoveVirtualSubject
(
const FLiveLinkSubjectKey& VirtualSubjectKey |
Removes a virtual subject from the client | |
| void | SetSubjectEnabled
(
const FLiveLinkSubjectKey& SubjectKey, |
Set the subject's from a specific source to enabled, disabling the other in the process. | |
| void | UnregisterForFrameDataReceived
(
const FLiveLinkSubjectKey& InSubjectKey, |
Unregister delegate registered with RegisterForFrameDataReceived. | |
| void | UnregisterSubjectFramesHandle
(
FLiveLinkSubjectName SubjectName, |
Unregister delegates registered with RegisterForSubjectFrames. |
Constants
| Name | Description |
|---|---|
| LIVELINK_VERSION | |
| ModularFeatureName |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | EvaluateFrameAtSceneTime_AnyThread
(
FLiveLinkSubjectName SubjectName, |
ILiveLinkClient::EvaluateFrameAtSceneTime_AnyThread is deprecated. Please use ILiveLinkClient::EvaluateFrameAtSceneTime_AnyThread with a QualifiedFrameTime instead! |