UMediaSoundComponent::SetMediaPlayer

Set the media player that provides the audio samples.

Windows
MacOS
Linux

References

Module

MediaAssets

Header

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

Include

#include "MediaSoundComponent.h"

Source

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

Syntax

void SetMediaPlayer
(
    UMediaPlayer * NewMediaPlayer
)

Remarks

Set the media player that provides the audio samples.

Parameters

Parameter

Description

NewMediaPlayer

The player to set.

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss