Navigation
API > API/Runtime > API/Runtime/MediaAssets > API/Runtime/MediaAssets/UMediaPlayer
Description
Get the type of the specified video track format.
| Name | GetVideoTrackType |
| 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")
FString GetVideoTrackType
(
int32 TrackIndex,
int32 FormatIndex
) const
Video format type string.
Parameters
| Name | Remarks |
|---|---|
| TrackIndex | The index of the track, or INDEX_NONE for the selected one. |
| FormatIndex | Index of the track format, or INDEX_NONE for the selected one. |