Navigation
API > API/Plugins > API/Plugins/LinearTimecode
Implements a Linear timecode decoder.
| Name | ULinearTimecodeComponent |
| Type | class |
| Header File | /Engine/Plugins/Media/LinearTimecode/Source/LinearTimecode/Public/LinearTimecodeComponent.h |
| Include Path | #include "LinearTimecodeComponent.h" |
Syntax
UCLASS (ClassGroup=Media, EditInlineNew, Meta=(BlueprintSpawnableComponent))
class ULinearTimecodeComponent : public USceneComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → USceneComponent → ULinearTimecodeComponent
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ULinearTimecodeComponent
(
const FObjectInitializer& ObjectInitializer |
LinearTimecodeComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DropTimecode | FDropTimecode | LinearTimecodeComponent.h |
|
|
| MediaPlayer | TObjectPtr< UMediaPlayer > | The media player asset associated with this component. | LinearTimecodeComponent.h |
|
| OnTimecodeChange | FOnTimecodeChange | Called when the timecode changes | LinearTimecodeComponent.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetDropFrameNumber() |
Get the Frame Number | LinearTimecodeComponent.h |
|
void UpdatePlayer() |
LinearTimecodeComponent.h |
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Activate
(
bool bReset |
LinearTimecodeComponent.h | ||
virtual void Deactivate() |
LinearTimecodeComponent.h | ||
virtual void TickComponent
(
float DeltaTime, |
LinearTimecodeComponent.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ProcessAudio
(
TSharedPtr< FMediaAudioSampleQueue, ESPMode::ThreadSafe > SampleQueue |
LinearTimecodeComponent.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static double FrameRateToFrameDelta
(
int32 InFrameRate, |
LinearTimecodeComponent.h | ||
static void GetDropTimeCodeFrameNumber
(
const FDropTimecode& Timecode, |
Convert a drop timecode into a frame number | LinearTimecodeComponent.h |
|
static void SetDropTimecodeFrameNumber
(
const FDropTimecode& Timecode, |
Convert frame number into a drop timecode | LinearTimecodeComponent.h |
|