UMediaPlayer::SetBlockOnTimeRange

Set the time range on which to block.

Windows
MacOS
Linux

References

Module

MediaAssets

Header

/Engine/Source/Runtime/MediaAssets/Public/MediaPlayer.h

Include

#include "MediaPlayer.h"

Source

/Engine/Source/Runtime/MediaAssets/Private/Assets/MediaPlayer.cpp

Syntax

void SetBlockOnTimeRange
(
    const TRange< FTimespan > & TimeRange
)

Remarks

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.

Parameters

Parameter

Description

TimeRange

The time range to block on, or empty range to disable.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss