Navigation
Unreal Engine C++ API Reference > Runtime > Media > IMediaTracks
References
Module | Media |
Header | /Engine/Source/Runtime/Media/Public/IMediaTracks.h |
Include | #include "IMediaTracks.h" |
bool SetTrackFormat
(
EMediaTrackType TrackType,
int32 TrackIndex,
int32 FormatIndex
)
Remarks
Select the active 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 format was selected, false otherwise.
Parameters
Name | Description |
---|---|
TrackType | The type of track to update. |
TrackIndex | The index of the track to update (must be valid). |
FormatIndex | The index of the format to select (must be valid). |