Navigation
API > API/Runtime > API/Runtime/MediaAssets > API/Runtime/MediaAssets/UFileMediaSource
Description
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.
| Name | SetFilePath |
| Type | function |
| Header File | /Engine/Source/Runtime/MediaAssets/Public/FileMediaSource.h |
| Include Path | #include "FileMediaSource.h" |
| Source | /Engine/Source/Runtime/MediaAssets/Private/Assets/FileMediaSource.cpp |
UFUNCTION (BlueprintCallable, Category="Media|FileMediaSource")
void SetFilePath
(
const FString & Path
)
Parameters
| Name | Remarks |
|---|---|
| Path | The path to set. |
See Also
-
FilePath