Navigation
API > API/Plugins > API/Plugins/LiveLink
Inheritance Hierarchy
- ILiveLinkSubject
- ITimedDataInputChannel
- FLiveLinkSubject
References
| Module | LiveLink |
| Header | /Engine/Plugins/Animation/LiveLink/Source/LiveLink/Public/LiveLinkSubject.h |
| Include | #include "LiveLinkSubject.h" |
Syntax
class FLiveLinkSubject :
public ILiveLinkSubject ,
public ITimedDataInputChannel
Remarks
Manages subject manipulation either to add or get frame data for specific roles
Variables
| Type | Name | Description | |
|---|---|---|---|
| ULiveLinkFrameInterpolationProcessor::FWorkerSharedPtr | FrameInterpolationProcessor | ||
| TArray< ULiveLinkFramePreProcessor::FWorkerSharedPtr > | FramePreProcessors | ||
| TArray< ULiveLinkFrameTranslator::FWorkerSharedPtr > | FrameTranslators | List of available translator the subject can use. | |
| TSubclassOf< ULiveLinkRole > | Role | The role the subject was build with. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FLiveLinkSubject
(
TSharedPtr< FLiveLinkTimedDataInput > InTimedDataGroup |
|||
FLiveLinkSubject
(
const FLiveLinkSubject& |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddFrameData
(
FLiveLinkFrameDataStruct&& InFrameData |
Add a frame of data from a FLiveLinkFrameData. | |
| void | CacheSettings
(
ULiveLinkSourceSettings* SourceSetting, |
||
| bool | EvaluateFrameAtSceneTime
(
const FQualifiedFrameTime& InSceneTime, |
||
| bool | EvaluateFrameAtWorldTime
(
double InWorldTime, |
||
| double | Get the timestamp of the last time a frame was received for this subject. | ||
| ELiveLinkSourceMode | GetMode () |
||
| FLiveLinkSubjectTimeSyncData | |||
| bool | |||
| bool | |||
| void | SetLastPushTime
(
double InLastPushTime |
Set the last time a frame was received. | |
| void | SetStaticData
(
TSubclassOf< ULiveLinkRole > InRole, |
Handling setting a new static data. Create role data if not found in map. |
Overridden from ILiveLinkSubject
| Type | Name | Description | |
|---|---|---|---|
| void | ClearFrames () |
||
| const FLiveLinkSubjectFrameData & | |||
| TArray< FLiveLinkTime > | |||
| const TArray< ULiveLinkFrameTranslator::FWorkerSharedPtr > | List of available translator the subject can use. | ||
| TSubclassOf< ULiveLinkRole > | GetRole () |
||
| const FLiveLinkStaticDataStruct & | |||
| FLiveLinkStaticDataStruct & | |||
| FLiveLinkSubjectKey | |||
| bool | When rebroadcasting, has the static data been rebroadcasted? | ||
| bool | |||
| void | Initialize
(
FLiveLinkSubjectKey SubjectKey, |
||
| bool | Whether this subject is rebroadcasted | ||
| void | SetStaticDataAsRebroadcasted
(
const bool bInSent |
Sets the static data for this subject as rebroadcasted | |
| void | Update () |
Overridden from ITimedDataInputChannel
| Type | Name | Description | |
|---|---|---|---|
| int32 | Return buffer overflow count detected by this input | ||
| int32 | Return buffer underflow count detected by this input | ||
| TArray< FTimedDataChannelSampleTime > | GetDataTimes () |
Get the time of all the data samples available. | |
| FText | ITimedDataInput interface | ||
| int32 | Return frame dropped count detected by this input | ||
| void | GetLastEvaluationData
(
FTimedDataInputEvaluationData& OutEvaluationData |
Get data about last evaluation. Samples used, expected, number of samples. | |
| FTimedDataChannelSampleTime | Get the time of the newest data sample available. | ||
| int32 | Get the number of data samples available. | ||
| FTimedDataChannelSampleTime | Get the time of the oldest data sample available. | ||
| ETimedDataInputState | GetState () |
Get the current state of the channel. | |
| bool | Is tracking of stats enabled for this input | ||
| void | Resets internal stat counters | ||
| void | SetBufferStatsEnabled
(
bool bEnable |
Enables or disables stats tracking for this input |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FLiveLinkSubject & | operator=
(
const FLiveLinkSubject& |
Typedefs
| Name | Description |
|---|---|
| Super |