Navigation
API > API/Runtime > API/Runtime/MediaAssets
Manual definition of media source color space & encoding.
| Name | FMediaSourceColorSettings |
| Type | struct |
| Header File | /Engine/Source/Runtime/MediaAssets/Public/BaseMediaSourceColorSettings.h |
| Include Path | #include "BaseMediaSourceColorSettings.h" |
Syntax
USTRUCT (BlueprintType )
struct FMediaSourceColorSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMediaSourceColorSettings() |
BaseMediaSourceColorSettings.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BlueChromaticityCoordinate | FVector2D | Blue chromaticity coordinate of the source color space. | BaseMediaSourceColorSettings.h |
|
| ChromaticAdaptationMethod | ETextureChromaticAdaptationMethod | Chromatic adaption method applied if the source white point differs from the working color space white point. | BaseMediaSourceColorSettings.h |
|
| ColorSpaceOverride | ETextureColorSpace | Source color space of the media. | BaseMediaSourceColorSettings.h |
|
| EncodingOverride | EMediaSourceEncoding | Source encoding of the media. | BaseMediaSourceColorSettings.h |
|
| GreenChromaticityCoordinate | FVector2D | Green chromaticity coordinate of the source color space. | BaseMediaSourceColorSettings.h |
|
| RedChromaticityCoordinate | FVector2D | Red chromaticity coordinate of the source color space. | BaseMediaSourceColorSettings.h |
|
| ReferenceWhiteOverride | EMediaReferenceWhite | TODO: Unify with FTextureSourceColorSettings. | BaseMediaSourceColorSettings.h |
|
| WhiteChromaticityCoordinate | FVector2D | White chromaticity coordinate of the source color space. | BaseMediaSourceColorSettings.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void UpdateColorSpaceChromaticities() |
Update the chromaticity coordinates member variables based on the color space choice (unless custom). | BaseMediaSourceColorSettings.h |