FColorSpaceTransform

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

TMatrix

FColorSpaceTransform

References

Module

ColorManagement

Header

/Engine/Source/Runtime/ColorManagement/Public/ColorSpace.h

Include

#include "ColorSpace.h"

Syntax

struct FColorSpaceTransform : public UE::Math::TMatrix< double >

Constructors

Name Description

Public function

FColorSpaceTransform

(
    FMatrix44d Matrix
)

Constructor: create a color space transformation matrix from a raw matrix.

Public function

FColorSpaceTransform

(
    const FColorSpace& Src,
    const FColorSpace& Dst,
    EChromaticAdaptationMethod Method
)

Constructor: create a color space transformation matrix from a source to a target color space using the RGB-XYZ-RGB conversions.

Functions

Name Description

Public function Const

FLinearColor

 

Apply

(
    const FLinearColor& Color
)

Apply color space transform to FLinearColor.

Public function Static

FMatrix44d

 

CalcChromaticAdaptionMatrix

(
    FVector3d SourceXYZ,
    FVector3d TargetXYZ,
    EChromaticAdaptationMethod Method
)

Calculate the chromatic adaptation matrix using the specific method.