FMediaPlayerFacade::SetNativeVolume

Changes the media's native volume.

Choose your operating system:

Windows

macOS

Linux

References

Module

MediaUtils

Header

/Engine/Source/Runtime/MediaUtils/Public/MediaPlayerFacade.h

Include

#include "MediaPlayerFacade.h"

Source

/Engine/Source/Runtime/MediaUtils/Private/MediaPlayerFacade.cpp

Syntax

bool SetNativeVolume
(
    float Volume
)

Remarks

Changes the media's native volume.

Returns

true on success, false otherwise.

Parameters

Parameter

Description

Rate

The volume to set.

See Also

NativeAudioOut