Navigation
API > API/Runtime > API/Runtime/MediaAssets > API/Runtime/MediaAssets/UMediaPlayer
Description
Get the supported playback rates.
| Name | GetSupportedRates |
| Type | function |
| Header File | /Engine/Source/Runtime/MediaAssets/Public/MediaPlayer.h |
| Include Path | #include "MediaPlayer.h" |
| Source | /Engine/Source/Runtime/MediaAssets/Private/Assets/MediaPlayer.cpp |
UFUNCTION (BlueprintCallable, Category="Media|MediaPlayer")
void GetSupportedRates
(
TArray < FFloatRange > & OutRates,
bool Unthinned
) const
Parameters
| Name | Remarks |
|---|---|
| Unthinned | Whether the rates are for unthinned playback. |
| OutRates | Will contain the the ranges of supported rates. |
See Also
-
SetRate
-
SupportsRate