Navigation
Unreal Engine C++ API Reference > Plugins > MediaFrameworkUtilities
Inheritance Hierarchy
- UObject
- UTimeSynchronizationSource
- UMediaPlayerTimeSynchronizationSource
References
Module | MediaFrameworkUtilities |
Header | /Engine/Plugins/Media/MediaFrameworkUtilities/Source/MediaFrameworkUtilities/Public/MediaPlayerTimeSynchronizationSource.h |
Include | #include "MediaPlayerTimeSynchronizationSource.h" |
Syntax
UCLASS (EditInlineNew)
class UMediaPlayerTimeSynchronizationSource : public UTimeSynchronizationSource
Remarks
Synchronization Source using the Media Player framework
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
TObjectPtr< UMediaSource > | MediaSource | Media source asset of this input |
![]() ![]() ![]() |
TObjectPtr< UMediaTexture > | MediaTexture | Texture linked to the media player |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Overridden from UTimeSynchronizationSource
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Close () |
Called when synchronization has been completed. The source may discard any unnecessary frames. |
![]() ![]() ![]() |
FString | Name to used when displaying an error message or to used in UI. | |
![]() ![]() ![]() |
FFrameRate | GetFrameRate () |
Get the source actual FrameRate |
![]() ![]() ![]() |
FFrameTime | Get the time of the newest available sample (relative to this source's frame rate). | |
![]() ![]() ![]() |
FFrameTime | Get the time of the oldest available sample (relative to this source's frame rate). | |
![]() ![]() ![]() |
TSharedRef< SWidget > | Get Visual Widget of this source to display in UI | |
![]() ![]() ![]() |
bool | IsReady () |
Used to know if the source is ready to be used for synchronization. |
![]() ![]() |
bool | Open
(
const FTimeSynchronizationOpenData& InOpenData |
Called when synchronization is started to notify this source to begin buffering frames. |
![]() ![]() |
void | Start
(
const FTimeSynchronizationStartData& InStartData |
Start playing samples. |