Navigation
API > API/Runtime > API/Runtime/LiveLinkInterface
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.
| Name | ILiveLinkClient |
| Type | class |
| Header File | /Engine/Source/Runtime/LiveLinkInterface/Public/ILiveLinkClient.h |
| Include Path | #include "ILiveLinkClient.h" |
Syntax
class ILiveLinkClient : public IModularFeature
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~ILiveLinkClient() |
ILiveLinkClient.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| LIVELINK_VERSION | const int32 | ILiveLinkClient.h | |
| ModularFeatureName | FName | ILiveLinkClient.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGuid AddSource
(
TSharedPtr< ILiveLinkSource > Source |
Add a new live link source to the client | ILiveLinkClient.h | |
bool AddVirtualSubject
(
const FLiveLinkSubjectKey& VirtualSubjectKey, |
Add a new virtual subject to the client | ILiveLinkClient.h | |
| Add a new live link VirtualSubject source to the client | ILiveLinkClient.h | ||
void ClearAllSubjectsFrames_AnyThread() |
Clear all subjects frames | ILiveLinkClient.h | |
void ClearOverrideStaticData_AnyThread
(
const FLiveLinkSubjectKey& InSubjectKey |
Claer the override static data used by the subject remapper. | ILiveLinkClient.h | |
void ClearSubjectsFrames_AnyThread
(
const FLiveLinkSubjectKey& SubjectKey |
Clear the stored frames associated with the subject | ILiveLinkClient.h | |
void ClearSubjectsFrames_AnyThread
(
FLiveLinkSubjectName SubjectName |
Clear the stored frames associated with the enabled subject | ILiveLinkClient.h | |
bool CreateSource
(
const FLiveLinkSourcePreset& SourcePreset |
Create from the factory a new live link source and add it to the client. | ILiveLinkClient.h | |
bool CreateSubject
(
const FLiveLinkSubjectPreset& SubjectPreset |
Create and add a new live link subject to the client | ILiveLinkClient.h | |
bool DoesSubjectSupportsRole_AnyThread
(
const FLiveLinkSubjectKey& SubjectKey, |
Whether a subject support a particular role, either directly or through a translator | ILiveLinkClient.h | |
bool DoesSubjectSupportsRole_AnyThread
(
FLiveLinkSubjectName SubjectName, |
Whether a subject support a particular role, either directly or through a translator | ILiveLinkClient.h | |
bool EvaluateFrame_AnyThread
(
FLiveLinkSubjectName SubjectName, |
Return the evaluated subject snapshot for a specific role. | ILiveLinkClient.h | |
bool EvaluateFrameAtSceneTime_AnyThread
(
FLiveLinkSubjectName SubjectName, |
Evaluates a subject for a specific role at a scene time. | ILiveLinkClient.h | |
virtual bool EvaluateFrameAtSceneTime_AnyThread
(
FLiveLinkSubjectName SubjectName, |
ILiveLinkClient.h | ||
bool EvaluateFrameAtWorldTime_AnyThread
(
FLiveLinkSubjectName SubjectName, |
Evaluates a subject for a specific role. | ILiveLinkClient.h | |
bool EvaluateFrameFromSource_AnyThread
(
const FLiveLinkSubjectKey& SubjectKey, |
Return the evaluated subject from a specific source snapshot for a specific role. | ILiveLinkClient.h | |
void ForceTick () |
Performs an internal Tick(). | ILiveLinkClient.h | |
| Get the machine name of the source. | ILiveLinkClient.h | ||
FText GetSourceNameOverride
(
const FLiveLinkSubjectKey& SubjectKey |
Get the source name override for a given subject. | ILiveLinkClient.h | |
FLiveLinkSourcePreset GetSourcePreset
(
FGuid SourceGuid, |
Get the source preset from the live link client. | ILiveLinkClient.h | |
| Get a list of all the sources | ILiveLinkClient.h | ||
ULiveLinkSourceSettings * GetSourceSettings
(
const FGuid& SourceKey |
Get the Settings of this source. | ILiveLinkClient.h | |
| Get the status of a source | ILiveLinkClient.h | ||
| Get the tooltip of a source | ILiveLinkClient.h | ||
| Get the type of a source | ILiveLinkClient.h | ||
FText GetSubjectDisplayName
(
const FLiveLinkSubjectKey& SubjectKey |
Get the display name for a subject. Returns an empty text if the source is invalid. | ILiveLinkClient.h | |
TArray< FLiveLinkTime > GetSubjectFrameTimes
(
const FLiveLinkSubjectKey& SubjectKey |
Get the time of all the frames for a specific subject, including computed offsets. | ILiveLinkClient.h | |
TArray< FLiveLinkTime > GetSubjectFrameTimes
(
FLiveLinkSubjectName SubjectName |
Get the time of all the frames for a specific subject, including computed offsets. | ILiveLinkClient.h | |
FLiveLinkSubjectPreset GetSubjectPreset
(
const FLiveLinkSubjectKey& SubjectKey, |
Get the subject preset from the live link client. | ILiveLinkClient.h | |
TSubclassOf< ULiveLinkRole > GetSubjectRole_AnyThread
(
const FLiveLinkSubjectKey& SubjectKey |
Get the role of a subject from a specific source | ILiveLinkClient.h | |
TSubclassOf< ULiveLinkRole > GetSubjectRole_AnyThread
(
FLiveLinkSubjectName SubjectName |
Get the role of the subject with this name | ILiveLinkClient.h | |
TArray< FLiveLinkSubjectKey > GetSubjects
(
bool bIncludeDisabledSubject, |
Get a list of all subjects | ILiveLinkClient.h | |
UObject * GetSubjectSettings
(
const FLiveLinkSubjectKey& SubjectKey |
Get the Settings of this subject. | ILiveLinkClient.h | |
TArray< FLiveLinkSubjectKey > GetSubjectsSupportingRole
(
TSubclassOf< ULiveLinkRole > SupportedRole, |
Get a list of name of subjects supporting a certain role | ILiveLinkClient.h | |
ELiveLinkSubjectState GetSubjectState
(
FLiveLinkSubjectName InSubjectName |
Returns the state of the given subject name. | ILiveLinkClient.h | |
const FLiveLinkStaticDataStruct * GetSubjectStaticData_AnyThread
(
const FLiveLinkSubjectKey& InSubjectKey, |
Utility method to grab a subject's static data. | ILiveLinkClient.h | |
| Get a list of all the VirtualSubjects sources | ILiveLinkClient.h | ||
bool HasPendingSubjectFrames() |
Returns true if the client has pending subject frames to process during its next tick | ILiveLinkClient.h | |
bool HasSourceBeenAdded
(
TSharedPtr< ILiveLinkSource > Source |
Is the source been added | ILiveLinkClient.h | |
bool IsSourceStillValid
(
FGuid EntryGuid |
Returns whether the Source is connected to its data provider and can still push valid data. | ILiveLinkClient.h | |
bool IsSubjectEnabled
(
const FLiveLinkSubjectKey& SubjectKey, |
Whether or not a subject from the specific source is the enabled subject. | ILiveLinkClient.h | |
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. | ILiveLinkClient.h | |
bool IsSubjectTimeSynchronized
(
FLiveLinkSubjectName SubjectName |
Whether or not the subject's data is time synchronized or not | ILiveLinkClient.h | |
bool IsSubjectTimeSynchronized
(
const FLiveLinkSubjectKey& SubjectKey |
Whether or not the subject's data, from a specific source, is time synchronized or not | ILiveLinkClient.h | |
bool IsSubjectValid
(
const FLiveLinkSubjectKey& SubjectKey |
Whether or not a subject from a specific source is valid and has valid snapshot data | ILiveLinkClient.h | |
bool IsSubjectValid
(
FLiveLinkSubjectName SubjectName |
Whether or not the client has a subject with this name that is valid and has valid snapshot data | ILiveLinkClient.h | |
bool IsVirtualSubject
(
const FLiveLinkSubjectKey& SubjectKey |
Whether the subject key points to a virtual subject | ILiveLinkClient.h | |
FOnLiveLinkSourceChangedDelegate & OnLiveLinkSourceAdded() |
Notify when a new source has been added | ILiveLinkClient.h | |
FOnLiveLinkSourceChangedDelegate & OnLiveLinkSourceRemoved() |
Notify when a source has been removed | ILiveLinkClient.h | |
FSimpleMulticastDelegate & OnLiveLinkSourcesChanged() |
Notify when the list of sources has changed. | ILiveLinkClient.h | |
FOnLiveLinkSubjectChangedDelegate & OnLiveLinkSubjectAdded() |
Notify when a new subject has been added | ILiveLinkClient.h | |
FOnLiveLinkSubjectEvaluated & OnLiveLinkSubjectEvaluated () |
Notify the debug interface when a subject has been evaluated. | ILiveLinkClient.h | |
FOnLiveLinkSubjectChangedDelegate & OnLiveLinkSubjectRemoved() |
Notify when a subject has been removed | ILiveLinkClient.h | |
FSimpleMulticastDelegate & OnLiveLinkSubjectsChanged() |
Notify when the list of subject has changed. | ILiveLinkClient.h | |
FOnLiveLinkSubjectStateChanged & OnLiveLinkSubjectStateChanged() |
Notify when a subject's state has changed. | ILiveLinkClient.h | |
FSimpleMulticastDelegate & OnLiveLinkTicked() |
Notify when the LiveLinkClient has ticked. | ILiveLinkClient.h | |
void PauseSubject_AnyThread
(
FLiveLinkSubjectName SubjectName |
Pause a subject. It will keep its subject snapshot until it's unpaused. | ILiveLinkClient.h | |
void PushSubjectFrameData_AnyThread
(
const FLiveLinkSubjectKey& SubjectKey, |
Push frame data for a specific subject for a certain role | ILiveLinkClient.h | |
void PushSubjectStaticData_AnyThread
(
const FLiveLinkSubjectKey& SubjectKey, |
Push static data for a specific subject for a certain role. This will clear all buffered frames | ILiveLinkClient.h | |
void RegisterForFrameDataReceived
(
const FLiveLinkSubjectKey& InSubjectKey, |
Register for when a frame data was received. | ILiveLinkClient.h | |
bool RegisterForSubjectFrames
(
FLiveLinkSubjectName SubjectName, |
Register for when a frame has been validated, added and ready to be used. | ILiveLinkClient.h | |
void RemoveSource
(
TSharedPtr< ILiveLinkSource > Source |
Remove the specified source from the live link client | ILiveLinkClient.h | |
void RemoveSource
(
FGuid SourceGuid |
Remove the source specified by the source Id from the live link client | ILiveLinkClient.h | |
void RemoveSubject_AnyThread
(
const FLiveLinkSubjectKey& SubjectName |
Clear the subject from the specific source | ILiveLinkClient.h | |
void RemoveVirtualSubject
(
const FLiveLinkSubjectKey& VirtualSubjectKey |
Removes a virtual subject from the client | ILiveLinkClient.h | |
void SetSubjectEnabled
(
const FLiveLinkSubjectKey& SubjectKey, |
Set the subject's from a specific source to enabled, disabling the other in the process. | ILiveLinkClient.h | |
void UnpauseSubject_AnyThread
(
FLiveLinkSubjectName SubjectName |
Unpause a subject, resuming its normal operation. | ILiveLinkClient.h | |
void UnregisterForFrameDataReceived
(
const FLiveLinkSubjectKey& InSubjectKey, |
Unregister delegate registered with RegisterForFrameDataReceived. | ILiveLinkClient.h | |
void UnregisterSubjectFramesHandle
(
FLiveLinkSubjectName SubjectName, |
Unregister delegates registered with RegisterForSubjectFrames. | ILiveLinkClient.h |