Navigation
API > API/Plugins > API/Plugins/MediaFrameworkUtilities
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UTimeSynchronizationSource
- UMediaPlayerTimeSynchronizationSource
References
| Module | MediaFrameworkUtilities |
| Header | /Engine/Plugins/Media/MediaFrameworkUtilities/Source/MediaFrameworkUtilities/Public/MediaPlayerTimeSynchronizationSource.h |
| Include | #include "MediaPlayerTimeSynchronizationSource.h" |
Syntax
UCLASS&40;EditInlineNew&41;
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 |
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& OpenData |
Called when synchronization is started to notify this source to begin buffering frames. | |
| void | Start
(
const FTimeSynchronizationStartData& StartData |
Start playing samples. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |