UMediaSource::GetMediaOption

Get a complex data type media option.

Windows
MacOS
Linux

Override Hierarchy

References

Module

MediaAssets

Header

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

Include

#include "MediaSource.h"

Source

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

Syntax

virtual TSharedPtr< FDataContainer, ESPMode::ThreadSafe > GetMediaOption
(
    const FName & Key,
    const TSharedPtr< FDataContainer, ESPMode::ThreadSafe > & DefaultValue
) const

Remarks

Get a complex data type media option.

Returns

The option value.

Parameters

Parameter

Description

Key

The name of the option to get.

DefaultValue

The default value to return if the option is not set.

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