UMediaPlayer::OpenSourceLatent

Open the specified media source with options using a latent action.

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 OpenSourceLatent
(
    const UObject * WorldContextObject,
    struct FLatentActionInfo LatentInfo,
    UMediaSource * MediaSource,
    const FMediaPlayerOptions & Options,
    bool & bSuccess
)

Remarks

Open the specified media source with options using a latent action.

A result of true indicates that the player successfully completed all requested operations.

Parameters

Parameter

Description

MediaSource

The media source to open.

Options

The media player options to apply.

bSuccess

All requested operations have completed successfully.

See Also

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