Navigation
Unreal Engine C++ API Reference > Runtime > Media > IMediaTracks
- IMediaTracks::GetSelectedTrack()
- FMediaIOCorePlayerBase::GetSelectedTrack()
References
Module | Media |
Header | /Engine/Source/Runtime/Media/Public/IMediaTracks.h |
Include | #include "IMediaTracks.h" |
int32 GetSelectedTrack
&40;
EMediaTrackType TrackType
&41; const
Remarks
Get the index of the currently selected track of the given type. The index of the selected track, or INDEX_NONE if no track is active.
Parameters
Name | Description |
---|---|
TrackType | The type of track to get. |