Navigation
Unreal Engine C++ API Reference > Runtime > Media > IMediaControls
- IMediaControls::SetRate()
- FMediaIOCorePlayerBase::SetRate()
References
Module | Media |
Header | /Engine/Source/Runtime/Media/Public/IMediaControls.h |
Include | #include "IMediaControls.h" |
bool SetRate
&40;
float Rate
&41;
Remarks
Set the current playback rate.
A playback rate of 1.0 will play the media normally at real-time. A rate of 0.0 corresponds to pausing playback. A negative rate, if supported, plays the media in reverse, and a rate larger than 1.0 fast forwards playback. true on success, false otherwise.
Parameters
Name | Description |
---|---|
Rate | The playback rate to set. |