FMediaIOCorePlayerBase::SetTrackFormat

Select the active format on the specified track.

Windows
MacOS
Linux

Override Hierarchy

IMediaTracks::SetTrackFormat()

FMediaIOCorePlayerBase::SetTrackFormat()

References

Module

MediaIOCore

Header

/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaIOCorePlayerBase.h

Include

#include "MediaIOCorePlayerBase.h"

Source

/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Private/Player/MediaIOCorePlayerBase.cpp

Syntax

virtual 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.

Returns

true if the format was selected, false otherwise.

Parameters

Parameter

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).

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