UFileMediaSource::SetFilePath

Set the path to the media file that this source represents.

Windows
MacOS
Linux

References

Module

MediaAssets

Header

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

Include

#include "FileMediaSource.h"

Source

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

Syntax

void SetFilePath
(
    const FString & Path
)

Remarks

Set the path to the media file that this source represents.

Automatically converts full paths to media sources that reside in the Engine's or project's /Content/Movies directory into relative paths.

Parameters

Parameter

Description

Path

The path to set.

See Also

[FilePath](API\Runtime\MediaAssets\UFileMediaSource\FilePath)

GetFilePath

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