Navigation
API > API/Runtime > API/Runtime/MediaAssets
A media source that selects other media sources based on target platform.
Use this asset to override media sources on a per-platform basis.
| Name | UPlatformMediaSource |
| Type | class |
| Header File | /Engine/Source/Runtime/MediaAssets/Public/PlatformMediaSource.h |
| Include Path | #include "PlatformMediaSource.h" |
Syntax
UCLASS (BlueprintType, MinimalAPI)
class UPlatformMediaSource : public UMediaSource
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMediaSource → UPlatformMediaSource
Implements Interfaces
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PlatformMediaSources | TMap< FString, TObjectPtr< UMediaSource > > | Media sources per platform. | PlatformMediaSource.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BlindPlatformMediaSources | TMap< FGuid, UMediaSource * > | Blind data encountered at load that could not be mapped to a known platform | PlatformMediaSource.h | |
| MediaSource | TObjectPtr< UMediaSource > | Default media source. | PlatformMediaSource.h |