UMediaPlayer::GetRate

Get the media's current playback rate.

Choose your operating system:

Windows

macOS

Linux

References

Module

MediaAssets

Header

/Engine/Source/Runtime/MediaAssets/Public/MediaPlayer.h

Include

#include "MediaPlayer.h"

Source

/Engine/Source/Runtime/MediaAssets/Private/Assets/MediaPlayer.cpp

Syntax

float GetRate() const

Remarks

Get the media's current playback rate.

Returns

The playback rate.

See Also