UTimeSynchronizableMediaSource

Base class for media sources that can be synchronized with the engine's timecode.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MediaAssets

Header

/Engine/Source/Runtime/MediaAssets/Public/TimeSynchronizableMediaSource.h

Include

#include "TimeSynchronizableMediaSource.h"

Syntax

class UTimeSynchronizableMediaSource : public UBaseMediaSource

Remarks

Base class for media sources that can be synchronized with the engine's timecode.

Variables

Name Description

Public variable

bool

 

bUseTimeSynchronization

Synchronize the media with the engine's timecode.

Public variable

int32

 

FrameDelay

When using Time Synchronization, how many frame back should it read.

Public variable

double

 

TimeDelay

When not using Time Synchronization, how far back it time should it read.

Constructors

Name Description

Public function

UTimeSynchronizableMediaSource()

Default constructor.

Overridden from IMediaOptions

Name Description

Public function Virtual Const

bool

 

GetMediaOption

(
    const FName& Key,
    bool DefaultValue
)

Get a Boolean media option.

Public function Virtual Const

int64

 

GetMediaOption

(
    const FName& Key,
    int64 DefaultValue
)

Get a signed integer media option.

Public function Virtual Const

double

 

GetMediaOption

(
    const FName& Key,
    double DefaultValue
)

Get a double precision floating point media option.

Public function Virtual Const

FString

 

GetMediaOption

(
    const FName& Key,
    const FString& DefaultValue
)

Get a string media option.

Public function Virtual Const

bool

 

HasMediaOption

(
    const FName& Key
)

Check whether the specified option is set.