Navigation
API > API/Runtime > API/Runtime/MediaAssets > API/Runtime/MediaAssets/UMediaPlayer
Description
Delay of the player's time.
This setting can be used to manually sync multiple sources. Set to 1 seconds, if you would like that Player to play 1 second behind its current time. If the value is too big, it is possible that the player would not hold that frame for that long.
| Name | SetTimeDelay |
| Type | function |
| Header File | /Engine/Source/Runtime/MediaAssets/Public/MediaPlayer.h |
| Include Path | #include "MediaPlayer.h" |
| Source | /Engine/Source/Runtime/MediaAssets/Private/Assets/MediaPlayer.cpp |
UFUNCTION (BlueprintCallable, Category="Media|MediaPlayer")
void SetTimeDelay
(
FTimespan TimeDelay
)
true on success, false otherwise.