Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/MediaUtils/Public/MediaPlayerFacade.h |
Include |
#include "MediaPlayerFacade.h" |
Source |
/Engine/Source/Runtime/MediaUtils/Private/MediaPlayerFacade.cpp |
bool SetTrackFormat
(
EMediaTrackType TrackType,
int32 TrackIndex,
int32 FormatIndex
)
Set the format on the specified track.
Selecting the format will not switch to the specified track. To switch tracks, use SelectTrack instead. If the track is already selected, the format change will be applied immediately.
true if the track was selected, false otherwise.
Parameter |
Description |
---|---|
TrackType |
The type of track to update. |
TrackIndex |
The index of the track to update. |
FormatIndex |
The index of the format to select (must be valid). |