Navigation
API > API/Runtime > API/Runtime/MediaUtils > API/Runtime/MediaUtils/FMediaPlayerFacade
Description
Set the frame rate of the specified video track.
| Name | SetVideoTrackFrameRate |
| Type | function |
| Header File | /Engine/Source/Runtime/MediaUtils/Public/MediaPlayerFacade.h |
| Include Path | #include "MediaPlayerFacade.h" |
| Source | /Engine/Source/Runtime/MediaUtils/Private/MediaPlayerFacade.cpp |
bool SetVideoTrackFrameRate
(
int32 TrackIndex,
int32 FormatIndex,
float FrameRate
)
true on success, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| TrackIndex | The index of the track, or INDEX_NONE for the selected one. |
| FormatIndex | Index of the track format, or INDEX_NONE for the selected one. |
| FrameRate | The frame rate to set (must be in range of format's supported frame rates). |