UMediaPlaylist::GetPrevious

Get the previous media source in the play list.

Windows
MacOS
Linux

References

Module

MediaAssets

Header

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

Include

#include "MediaPlaylist.h"

Source

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

Syntax

UMediaSource * GetPrevious
(
    int32 & InOutIndex
)

Remarks

Get the previous media source in the play list.

Returns

The media source before the current one, or nullptr if the list is empty.

Parameters

Parameter

Description

InOutIndex

Index of the current media source (will contain the new index).

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