Navigation
Unreal Engine C++ API Reference > Plugins > LinearTimecode
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- ULinearTimecodeComponent
References
Module | LinearTimecode |
Header | /Engine/Plugins/Media/LinearTimecode/Source/LinearTimecode/Public/LinearTimecodeComponent.h |
Include | #include "LinearTimecodeComponent.h" |
Syntax
UCLASS&40;ClassGroup&61;Media, EditInlineNew, Meta&61;&40;BlueprintSpawnableComponent&41;&41;
class ULinearTimecodeComponent : public USceneComponent
Remarks
Implements a Linear timecode decoder.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TWeakPtr< FMediaPlayerFacade, ESPMode::ThreadSafe > | CurrentPlayerFacade | The player facade that's currently providing audio samples. |
![]() |
FDropTimecode | DropTimecode | |
![]() ![]() ![]() ![]() |
TObjectPtr< UMediaPlayer > | MediaPlayer | The media player asset associated with this component. |
![]() |
FOnTimecodeChange | OnTimecodeChange | Called when the timecode changes |
![]() |
TSharedPtr< FMediaAudioSampleQueue, ESPMode::ThreadSafe > | SampleQueue | Audio sample queue. |
![]() |
TSharedPtr< FLinearTimecodeDecoder, ESPMode::ThreadSafe > | TimecodeDecoder | The Actual decoder |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
ULinearTimecodeComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
double | FrameRateToFrameDelta
(
int32 InFrameRate, |
|
![]() ![]() ![]() ![]() |
int32 | Get the Frame Number | |
![]() ![]() ![]() ![]() |
void | GetDropTimeCodeFrameNumber
(
const FDropTimecode& Timecode, |
Convert a drop timecode into a frame number |
![]() |
void | ProcessAudio
(
TSharedPtr< FMediaAudioSampleQueue, ESPMode::ThreadSafe > SampleQueue |
|
![]() ![]() |
void | SetDropTimecodeFrameNumber
(
const FDropTimecode& Timecode, |
Convert frame number into a drop timecode |
![]() |
void | UpdatePlayer () |
Overridden from UActorComponent
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Activate
(
bool bReset |
Activates the SceneComponent, should be overridden by native child classes. |
![]() ![]() |
void | Deactivate () |
Deactivates the SceneComponent. |
![]() ![]() |
void | TickComponent
(
float DeltaTime, |
Function called every frame on this ActorComponent. |