Navigation
API > API/Runtime > API/Runtime/Media > API/Runtime/Media/IMediaTracks
Description
Get the index of the currently selected format of the given track type.
| Name | GetTrackFormat |
| Type | function |
| Header File | /Engine/Source/Runtime/Media/Public/IMediaTracks.h |
| Include Path | #include "IMediaTracks.h" |
int32 GetTrackFormat
(
EMediaTrackType TrackType,
int32 TrackIndex
) const
The index of the selected format.
Parameters
| Name | Remarks |
|---|---|
| TrackType | The type of track. |
| TrackIndex | The index of the track (must be valid). |
See Also
-
SetTrackFormat