Navigation
API > API/Runtime > API/Runtime/MediaAssets > API/Runtime/MediaAssets/UMediaPlayer
Description
Set the time on which to block.
If set, this player will block in TickInput or TickFetch until the video sample for the specified time are actually available.
| Name | SetBlockOnTime |
| 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 SetBlockOnTime
(
const FTimespan & Time
)
Parameters
| Name | Remarks |
|---|---|
| Time | The time to block on, or FTimespan::MinValue to disable. |