| IMediaControls::SetRate()
|
Module |
|
Header |
/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaIOCorePlayerBase.h |
Include |
#include "MediaIOCorePlayerBase.h" |
Source |
/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Private/Player/MediaIOCorePlayerBase.cpp |
virtual bool SetRate
(
float Rate
)
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.
Parameter |
Description |
---|---|
Rate |
The playback rate to set. |