Navigation
API > API/Runtime > API/Runtime/MediaAssets > API/Runtime/MediaAssets/UMediaPlayer
Description
Set the time range 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 | SetBlockOnTimeRange |
| 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 |
void SetBlockOnTimeRange
(
const TRange < FTimespan > & TimeRange
)
Parameters
| Name | Remarks |
|---|---|
| TimeRange | The time range to block on, or empty range to disable. |