unreal.FileMediaSource
¶
- class unreal.FileMediaSource(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BaseMediaSource
File Media Source
C++ Source:
Module: MediaAssets
File: FileMediaSource.h
Editor Properties: (see get_editor_property/set_editor_property)
file_path
(str): [Read-Write] The path to the media file to be played. see: SetFilePathplatform_player_names
(Map[str, Name]): [Read-Write] Override native media player plug-ins per platform (Empty = find one automatically).precache_file
(bool): [Read-Write] Load entire media file into memory and play from there (if possible).
- property file_path: str¶
[Read-Write] The path to the media file to be played. see: SetFilePath
- Type:
(str)