UMediaSoundComponent::SetDefaultMediaPlayer

Set the component's default media player property.

Choose your operating system:

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 SetDefaultMediaPlayer
(
    UMediaPlayer * NewMediaPlayer
)

Remarks

Set the component's default media player property.

Parameters

Parameter

Description

NewMediaPlayer

The player to set.

See Also