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](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(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.

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