Navigation
API > API/Plugins > API/Plugins/TimecodeSynchronizer
| Name | UTimecodeSynchronizer |
| Type | class |
| Header File | /Engine/Plugins/Media/TimecodeSynchronizer/Source/TimecodeSynchronizer/Public/TimecodeSynchronizer.h |
| Include Path | #include "TimecodeSynchronizer.h" |
Syntax
UCLASS ()
class UTimecodeSynchronizer :
public UTimecodeProvider ,
public FTickableGameObject
Inheritance Hierarchy
- FTickableObjectBase → FTickableGameObject → UTimecodeSynchronizer
- UObjectBase → UObjectBaseUtility → UObject → UTimecodeProvider → UTimecodeSynchronizer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UTimecodeSynchronizer() |
UTimecodeSynchronizer | TimecodeSynchronizer.h |
Classes
| Name | Remarks |
|---|---|
| FOnTimecodeSynchronizationEvent | Get an event delegate that is invoked when a Asset synchronization event occurred. |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUsePreRollingTimecodeMarginOfErrors | bool | Enable verification of margin between synchronized time and source time | TimecodeSynchronizer.h | |
| bUsePreRollingTimeout | bool | Enable PreRoll timeout | TimecodeSynchronizer.h | |
| FixedFrameRate | FFrameRate | The fixed framerate to use. | TimecodeSynchronizer.h |
|
| FrameRateSource | ETimecodeSynchronizationFrameRateSources | Frame Rate Source. | TimecodeSynchronizer.h |
|
| MainSynchronizationSourceIndex | int32 | Index of the source that drives the synchronized Timecode. | TimecodeSynchronizer.h |
|
| PreRollingTimecodeMarginOfErrors | int32 | Maximum gap size between synchronized time and source time | TimecodeSynchronizer.h |
|
| PreRollingTimeout | float | How long to wait for all source to be ready | TimecodeSynchronizer.h |
|
| TimecodeProvider | TObjectPtr< UTimecodeProvider > | Custom strategy to tick in a interval. | TimecodeSynchronizer.h |
|
| TimecodeProviderType | ETimecodeSynchronizationTimecodeType | Use a Timecode Provider. | TimecodeSynchronizer.h |
|
| TimeSynchronizationInputSources | TArray< TObjectPtr< UTimeSynchronizationSource > > | ONLY MODIFY THESE IN EDITOR TODO: Deprecate this and make it private. | TimecodeSynchronizer.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveMainSynchronizationTimecodedSourceIndex | int32 | Index of the active source that drives the synchronized Timecode | TimecodeSynchronizer.h | |
| ActualFrameOffset | int32 | TimecodeSynchronizer.h |
|
|
| AutoFrameOffset | int32 | Similar to FrameOffset. | TimecodeSynchronizer.h |
|
| bAddSourcesGuard | bool | TimecodeSynchronizer.h | ||
| bFailGuard | bool | TimecodeSynchronizer.h | ||
| bIsTickEnabled | bool | TimecodeSynchronizer.h | ||
| bPreviousUseFixedFrameRate | bool | TimecodeSynchronizer.h | ||
| bRegistered | bool | Whether or not we are registered as the TimecodeProvider | TimecodeSynchronizer.h | |
| bShouldResetTimecodeProvider | bool | TimecodeSynchronizer.h | ||
| bWithRollover | bool | Whether or not the specified Provider's timecode rolls over. | TimecodeSynchronizer.h |
|
| CachedPreviousTimecodeProvider | TObjectPtr< UTimecodeProvider > | TimecodeSynchronizer.h |
|
|
| CachedProxiedTimecodeProvider | TObjectPtr< UTimecodeProvider > | TimecodeSynchronizer.h |
|
|
| CachedSyncState | FTimecodeSynchronizerCachedSyncState | TimecodeSynchronizer.h | ||
| CurrentProviderFrameTime | FFrameTime | The current frame from our specified provider. | TimecodeSynchronizer.h | |
| CurrentSystemFrameTime | TOptional< FFrameTime > | Frame time that we'll use for the system | TimecodeSynchronizer.h | |
| DynamicSources | TArray< TObjectPtr< UTimeSynchronizationSource > > | TimecodeSynchronizer.h |
|
|
| FrameOffset | int32 | When UserDefined mode is used, the number of frames delayed from the Provider's timecode. | TimecodeSynchronizer.h |
|
| LastUpdatedSources | int64 | TimecodeSynchronizer.h | ||
| NonSynchronizedSources | TArray< FTimecodeSynchronizerActiveTimecodedInputSource > | Sources that wants to be synchronized | TimecodeSynchronizer.h |
|
| OnSynchronizationEvent | enum UTimecodeSynchronizer::ESynchronizationState & | TimecodeSynchronizer.h | ||
| PreviousFixedFrameRate | float | TimecodeSynchronizer.h | ||
| RegisteredCustomTimeStep | TObjectPtr< UFixedFrameRateCustomTimeStep > | TimecodeSynchronizer.h |
|
|
| StartPreRollingTime | double | Timestamp when PreRolling has started | TimecodeSynchronizer.h | |
| State | ESynchronizationState | The actual synchronization state | TimecodeSynchronizer.h | |
| SynchronizationEvent | FOnTimecodeSynchronizationEvent | An event delegate that is invoked when a synchronization event occurred. | TimecodeSynchronizer.h | |
| SynchronizedSources | TArray< FTimecodeSynchronizerActiveTimecodedInputSource > | Sources used for synchronization | TimecodeSynchronizer.h |
|
| SyncMode | ETimecodeSynchronizationSyncMode | What mode will be used for synchronization. | TimecodeSynchronizer.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddRuntimeTimeSynchronizationSource
(
UTimeSynchronizationSource* Source |
Adds a "runtime" source to the synchronizer. | TimecodeSynchronizer.h | |
int32 GetActiveMainSynchronizationTimecodedSourceIndex() |
Returns the index of the Main Synchronization Source in the Synchronized Sources list. | TimecodeSynchronizer.h | |
FFrameTime GetCurrentSystemFrameTime() |
Get Current System Frame Time which is synchronized | TimecodeSynchronizer.h | |
const TArray< FTimecodeSynchronizerActiveTimecodedInputSource > & GetNonSynchronizedSources() |
Returns the list of sources that are not actively being used in synchronization. | TimecodeSynchronizer.h | |
const TArray< FTimecodeSynchronizerActiveTimecodedInputSource > & GetSynchronizationSources() |
TimecodeSynchronizer.h | ||
const TArray< FTimecodeSynchronizerActiveTimecodedInputSource > & GetSynchronizedSources() |
Returns the list of sources that are used to perform synchronization. | TimecodeSynchronizer.h | |
const TArray< FTimecodeSynchronizerActiveTimecodedInputSource > & GetTimecodedSources() |
TimecodeSynchronizer.h | ||
UTimecodeSynchronizer::FOnTimecodeSynchronizationEvent TBaseMulticastDelegate_OneParam OnSynchronizationEvent() |
TimecodeSynchronizer.h | ||
bool StartSynchronization () |
Starts the synchronization process. | TimecodeSynchronizer.h | |
void StopSynchronization () |
Stops the synchronization process. | TimecodeSynchronizer.h |
Overridden from UTimecodeProvider
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FQualifiedFrameTime GetQualifiedFrameTime() |
TimecodeSynchronizer.h | ||
virtual ETimecodeProviderSynchronizationState GetSynchronizationState() |
TimecodeSynchronizer.h | ||
virtual bool Initialize
(
UEngine* InEngine |
TimecodeSynchronizer.h | ||
virtual void Shutdown
(
UEngine* InEngine |
TimecodeSynchronizer.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
TimecodeSynchronizer.h | ||
virtual bool CanEditChange
(
const FProperty* InProperty |
TimecodeSynchronizer.h | ||
virtual void PostEditChangeChainProperty
(
FPropertyChangedChainEvent& PropertyChangedEvent |
TimecodeSynchronizer.h |
Overridden from FTickableGameObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsTickableInEditor() |
TimecodeSynchronizer.h | ||
virtual bool IsTickableWhenPaused() |
TimecodeSynchronizer.h |
Overridden from FTickableObjectBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TStatId GetStatId() |
TimecodeSynchronizer.h | ||
virtual ETickableTickType GetTickableTickType() |
TimecodeSynchronizer.h | ||
virtual bool IsTickable() |
TimecodeSynchronizer.h | ||
virtual void Tick
(
float DeltaTime |
TimecodeSynchronizer.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FString SynchronizationStateToString
(
ESynchronizationState InState |
TimecodeSynchronizer.h |