Navigation
API > API/Plugins > API/Plugins/LiveLink
Inheritance Hierarchy
- ILiveLinkClient_Base_DEPRECATED
- ILiveLinkClient
- FLiveLinkClient_Base_DEPRECATED
- FLiveLinkClient
References
| Module | LiveLink |
| Header | /Engine/Plugins/Animation/LiveLink/Source/LiveLink/Public/LiveLinkClient.h |
| Include | #include "LiveLinkClient.h" |
Syntax
class FLiveLinkClient : public FLiveLinkClient_Base_DEPRECATED
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArray< FGuid > | GetDisplayableSources
(
bool bIncludeVirtualSources |
Get all sources that can be displayed in the UI's source list. | |
| FText | GetSourceMachineName
(
FGuid EntryGuid |
||
| FText | GetSourceStatus
(
FGuid EntryGuid |
||
| FLiveLinkSubjectTimeSyncData | GetTimeSyncData
(
FLiveLinkSubjectName SubjectName |
||
| bool | IsSourceStillValid
(
FGuid EntryGuid |
||
| void | OnPropertyChanged
(
FGuid EntryGuid, |
Callback when property changed for one of the source settings | |
| void | ReinitializeVirtualSubject
(
const FLiveLinkSubjectKey& SubjectKey |
Call initialize again on an existing virtual subject. | |
| void | Remove all sources from the live link client | ||
| void | Tick () |
The tick callback to update the pending work and clear the subject's snapshot |
Overridden from FLiveLinkClient_Base_DEPRECATED
| Type | Name | Description | |
|---|---|---|---|
| void | Function for Deprecation | ||
| void | ClearFrames_Deprecation
(
const FLiveLinkSubjectKey& SubjectKey |
||
| FLiveLinkSkeletonStaticData * | GetSubjectAnimationStaticData_Deprecation
(
const FLiveLinkSubjectKey& SubjectKey |
||
| void |
Overridden from ILiveLinkClient
| 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
(
FLiveLinkSubjectName SubjectName |
Clear the stored frames associated with the enabled subject | |
| void | ClearSubjectsFrames_AnyThread
(
const FLiveLinkSubjectKey& SubjectKey |
Clear the stored frames associated with the 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
(
FLiveLinkSubjectName SubjectName, |
Whether a subject support a particular role, either directly or through a translator | |
| bool | DoesSubjectSupportsRole_AnyThread
(
const FLiveLinkSubjectKey& SubjectKey, |
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
(
const FLiveLinkSubjectKey& SubjectKey, |
Whether or not a subject from the specific source is the enabled subject. | |
| 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 | 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
(
const FLiveLinkSubjectKey& SubjectKey |
Whether or not a subject from a specific source is valid and has valid snapshot data | |
| bool | IsSubjectValid
(
FLiveLinkSubjectName SubjectName |
Whether or not the client has a subject with this name that 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. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddVirtualSubject
(
FLiveLinkSubjectName VirtualSubjectName, |
FLiveLinkClient::AddVirtualSubject(FLiveLinkSubjectName, TSubclassOf |
|
| void | AddVirtualSubject
(
FName NewVirtualSubjectName |
FLiveLinkClient::AddVirtualSubject(FName) is deprecated. Please use AddVirtualSubject(FName, TSubClass |
|
| FText | GetEntryStatusForEntry
(
FGuid EntryGuid |
FLiveLinkClient::GetEntryStatusForEntry is deprecated. Please use GetSourceStatus instead! | |
| FText | GetMachineNameForEntry
(
FGuid EntryGuid |
FLiveLinkClient::GetMachineNameForEntry is deprecated. Please use GetSourceMachineName instead! | |
| const TArray< FGuid > & | FLiveLinkClient::GetSourceEntries is deprecated. Please use ILiveLinkClient::GetSources instead! | ||
| FText | GetSourceTypeForEntry
(
FGuid EntryGuid |
FLiveLinkClient::GetSourceTypeForEntry is deprecated. Please use GetSourceType instead! | |
| FDelegateHandle | RegisterSourcesChangedHandle
(
const FSimpleMulticastDelegate::FDelegate& SourcesChanged |
FLiveLinkClient::OnLiveLinkSourcesChanged is deprecated. Please use OnLiveLinkSourceAdded instead! | |
| void | UnregisterSourcesChangedHandle
(
FDelegateHandle Handle |
FLiveLinkClient::OnLiveLinkSourcesChanged is deprecated. Please use OnLiveLinkSourceAdded instead! |