Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/ColorManagement/Public/ColorSpace.h |
Include |
#include "ColorSpace.h" |
struct FCoordinate2d
At the time of writing, there is no double-precision 2D vector available hence this custom type.
Name | Description | ||
---|---|---|---|
|
double |
x |
Coordinate's x component (lowercase to follow the CIE xy-XYZ convention). |
|
double |
y |
Coordinate's y component (lowercase to follow the CIE xy-XYZ convention). |
Name | Description | |
---|---|---|
|
FCoordinate2d() |
Constructor |
|
FCoordinate2d ( |
Constructor |
|
FCoordinate2d ( |
Constructor |
Name | Description | ||
---|---|---|---|
|
Equals ( |
Convert to the CIE xyY colorspace coordinates as an FVector3d. |
|
|
Serialize ( |
||
|
ToVector2D() |
Convert to FVector2D. |
|
|
ToXYZ ( |
Convert to CIE XYZ tristimulus values with a luminance value (default to 1.0). |
|
|
ToYxy ( |
Convert to CIE Yxy with a luminance value (default to 1.0). |
Name | Description | ||
---|---|---|---|
|
double & |
operator[] ( |
Gets specific component of the coordinates. |
|
const double... |
operator[] ( |
Gets specific component of the coordinate. |
|
operator== ( |
Compares these coordinates against another pair for equality. |