ULiveLinkVirtualSubject

A Virtual subject is made up of one or more real subjects from a source.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

LiveLinkInterface

Header

/Engine/Source/Runtime/LiveLinkInterface/Public/LiveLinkVirtualSubject.h

Include

#include "LiveLinkVirtualSubject.h"

Syntax

class ULiveLinkVirtualSubject :
    public UObject,
    public ILiveLinkSubject

Remarks

A Virtual subject is made up of one or more real subjects from a source.

Variables

Name Description

Protected variable

bool

 

bHasStaticDataBeenRebroadcast

If true, static data has been sent for this rebroadcast

Protected variable

bool

 

bRebroadcastSubject

If enabled, rebroadcast this subject

Protected variable

TArray< ULiveLi...

 

FrameTranslators

List of available translator the subject can use.

Protected variable

ILiveLinkClient...

 

LiveLinkClient

LiveLinkClient to get access to subjects

Protected variable

TSubclassOf< UL...

 

Role

The role the subject was build with.

Protected variable

FCriticalSectio...

 

SnapshotAccessCriticalSection

Lock to protect the FrameSnapshot.

Protected variable

FLiveLinkSubjec...

 

SubjectKey

Name of the subject

Protected variable

TArray< FLiveLi...

 

Subjects

Names of the real subjects to combine into a virtual subject

Functions

Name Description

Public function Virtual Const

bool

 

DependsOnSubject

(
    FName SubjectName
)

Returns true whether this virtual subject depends on the Subject named SubjectName

Public function Const

ILiveLinkCli...

 

GetClient()

Public function Const

const FLiveL...

 

GetFrameData()

Returns the current frame data of this virtual subject

Public function Const

const TArray...

 

GetSubjects()

Returns the live subjects associated with this virtual one

Public function Const

const TArray...

 

GetTranslators()

Returns the translators assigned to this virtual subject

Protected function Const

bool

 

HasValidFrameData()

Whether snapshot has valid frame data

Protected function Const

bool

 

HasValidStaticData()

Whether snapshot has valid static data

Protected function

void

 

InvalidateFrameData()

Invalidates our snapshot's frame data

Protected function

void

 

InvalidateStaticData()

Invalidates our snapshot's static data

Protected function

void

 

UpdateFrameDataSnapshot

(
    FLiveLinkFrameDataStruct&& NewFram...
)

Updates our snapshot's frame data

Protected function

void

 

UpdateStaticDataSnapshot

(
    FLiveLinkStaticDataStruct&& NewSta...
)

Updates our snapshot's static data

Protected function

void

 

UpdateTranslatorsForThisFrame()

Updates the list of translators valid for this frame

Overridden from ILiveLinkSubject

Name Description

Public function Virtual

void

 

ClearFrames()

Public function Virtual

bool

 

EvaluateFrame

(
    TSubclassOf< ULiveLinkRole > InDesi...,
    FLiveLinkSubjectFrameData& OutFram...
)

Protected function Virtual Const

const FLiveL...

 

GetFrameSnapshot()

Public function Virtual Const

TArray< FLiv...

 

GetFrameTimes()

Public function Virtual Const

const TArray...

 

GetFrameTranslators()

List of available translator the subject can use.

Public function Virtual Const

TSubclassOf<...

 

GetRole()

Public function Virtual

FLiveLinkSta...

 

GetStaticData()

Public function Virtual Const

const FLiveL...

 

GetStaticData()

Public function Virtual Const

FLiveLinkSub...

 

GetSubjectKey()

Public function Virtual Const

bool

 

HasStaticDataBeenRebroadcasted()

When rebroadcasting, has the static data been rebroadcasted?

Public function Virtual Const

bool

 

HasValidFrameSnapshot()

Public function Virtual

void

 

Initialize

(
    FLiveLinkSubjectKey SubjectKey,
    TSubclassOf< ULiveLinkRole > Role,
    ILiveLinkClient* LiveLinkClien...
)

Public function Virtual Const

bool

 

IsRebroadcasted()

Whether this subject is rebroadcasted

Public function Virtual

void

 

SetStaticDataAsRebroadcasted

(
    const bool bInSent
)

Sets the static data for this subject as rebroadcasted

Public function Virtual

void

 

Update()

Deprecated Variables

Name Description

Protected variable

FLiveLinkSubjec...

 

FrameSnapshot

VirtualSubject FrameSnapshot is now private to have thread safe accesses. Please use UpdateStaticDataSnapshot or UpdateFrameDataSnapshot to update its value

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss