UMediaPlayer::GetNumTrackFormats

Get the number of formats of the specified track.

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

int32 GetNumTrackFormats
(
    EMediaPlayerTrack TrackType,
    int32 TrackIndex
) const

Remarks

Get the number of formats of the specified track.

Returns

Number of formats.

Parameters

Parameter

Description

TrackType

The type of media tracks.

TrackIndex

The index of the track.

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