Module |
|
Header |
/Engine/Source/Runtime/MediaAssets/Public/MediaPlayer.h |
Include |
#include "MediaPlayer.h" |
Source |
/Engine/Source/Runtime/MediaAssets/Private/Assets/MediaPlayer.cpp |
bool SetNativeVolume
(
float Volume
)
Set the volume on the native player if not mixing with Sound Wave asset.
The SetNativeVolume can be used to change the audio output volume at runtime.
that not all media player plug-ins may support native audio output on all platforms.
true on success, false otherwise.
Parameter |
Description |
---|---|
Volume |
The volume to set. |