UMediaComponent

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MediaAssets

Header

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

Include

#include "MediaComponent.h"

Syntax

class UMediaComponent : public UActorComponent

Constructors

Name Description

Public function

UMediaComponent

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

UMediaPlayer...

 

GetMediaPlayer()

Get the media player that this component owns

Public function Const

UMediaTextur...

 

GetMediaTexture()

Get the media texture that this component owns, bound to its media player.