Navigation
API > API/Plugins > API/Plugins/ImgMedia
Manual definition of media source color space & encoding.
| Name | FMediaSourceColorSettings |
| Type | struct |
| Header File | /Engine/Plugins/Media/ImgMedia/Source/ImgMedia/Public/ImgMediaSourceColorSettings.h |
| Include Path | #include "ImgMediaSourceColorSettings.h" |
Syntax
USTRUCT (BlueprintType )
struct FMediaSourceColorSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMediaSourceColorSettings() |
ImgMediaSourceColorSettings.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BlueChromaticityCoordinate | FVector2D | Blue chromaticity coordinate of the source color space. | ImgMediaSourceColorSettings.h |
|
| ChromaticAdaptationMethod | ETextureChromaticAdaptationMethod | Chromatic adaption method applied if the source white point differs from the working color space white point. | ImgMediaSourceColorSettings.h |
|
| ColorSpaceOverride | ETextureColorSpace | Source color space of the media. | ImgMediaSourceColorSettings.h |
|
| EncodingOverride | EMediaSourceEncoding | Source encoding of the media. | ImgMediaSourceColorSettings.h |
|
| GreenChromaticityCoordinate | FVector2D | Green chromaticity coordinate of the source color space. | ImgMediaSourceColorSettings.h |
|
| RedChromaticityCoordinate | FVector2D | Red chromaticity coordinate of the source color space. | ImgMediaSourceColorSettings.h |
|
| WhiteChromaticityCoordinate | FVector2D | White chromaticity coordinate of the source color space. | ImgMediaSourceColorSettings.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). | ImgMediaSourceColorSettings.h |