ULinearTimecodeComponent

Implements a Linear timecode decoder.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

LinearTimecode

Header

/Engine/Plugins/Media/LinearTimecode/Source/LinearTimecode/Public/LinearTimecodeComponent.h

Include

#include "LinearTimecodeComponent.h"

Syntax

UCLASS(ClassGroup=Media, EditInlineNew, Meta=(BlueprintSpawnableComponent))
class ULinearTimecodeComponent : public USceneComponent

Remarks

Implements a Linear timecode decoder.

Variables

Name Description

Protected variable

TWeakPtr< FMedi...

 

CurrentPlayerFacade

The player facade that's currently providing audio samples.

Public variable

FDropTimecode

 

DropTimecode

Public variable UProperty Category BlueprintReadOnly

UMediaPlayer &#...

 

MediaPlayer

The media player asset associated with this component.

Public variable

FOnTimecodeChan...

 

OnTimecodeChange

Called when the timecode changes

Protected variable

TSharedPtr< FMe...

 

SampleQueue

Audio sample queue.

Protected variable

TSharedPtr< FLi...

 

TimecodeDecoder

The Actual decoder

Constructors

Name Description

Public function

ULinearTimecodeComponent

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function Static

double

 

FrameRateToFrameDelta

(
    int32 InFrameRate,
    int32 InDrop
)

Public function Const UFunction BlueprintCallable, Category

int32

 

GetDropFrameNumber()

Get the Frame Number

Public function Static UFunction BlueprintCallable, Category

void

 

GetDropTimeCodeFrameNumber

(
    const FDropTimecode& Timecode,
    int32& FrameNumber
)

Convert a drop timecode into a frame number

Protected function

void

 

ProcessAudio

Public function Static

void

 

SetDropTimecodeFrameNumber

(
    const FDropTimecode& Timecode,
    int32 FrameNumber,
    FDropTimecode& OutTimecode
)

Convert frame number into a drop timecode

Public function

void

 

UpdatePlayer()

Overridden from UActorComponent

Name Description

Public function Virtual

void

 

Activate

(
    bool bReset
)

Activates the SceneComponent, should be overridden by native child classes.

Public function Virtual

void

 

Deactivate()

Deactivates the SceneComponent.

Public function Virtual

void

 

TickComponent

(
    float DeltaTime,
    enum ELevelTick TickType,
    FActorComponentTickFunction* T...
)

Function called every frame on this ActorComponent.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback