Navigation
Unreal Engine C++ API Reference > Runtime > MediaAssets > UMediaPlayer
References
Module | MediaAssets |
Header | /Engine/Source/Runtime/MediaAssets/Public/MediaPlayer.h |
Include | #include "MediaPlayer.h" |
Source | /Engine/Source/Runtime/MediaAssets/Private/Assets/MediaPlayer.cpp |
bool SetVideoTrackFrameRate
&40;
int32 TrackIndex,
int32 FormatIndex,
float FrameRate
&41;
Remarks
Set the frame rate of the specified video track. true on success, false otherwise.
Parameters
Name | Description |
---|---|
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). |