UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Color.cpp File Reference
#include "Math/Color.h"
#include "Math/Vector.h"
#include "Math/Vector4.h"
#include "Math/Float16Color.h"
#include "Math/RandomStream.h"
#include "ColorManagement/ColorSpace.h"
#include "HAL/IConsoleManager.h"

Classes

union  stbir__FP32
 

Functions

void ConvertFLinearColorsToFColorSRGB (const FLinearColor *InLinearColors, FColor *OutColorsSRGB, int64 InCount)
 
void ComputeAndFixedColorAndIntensity (const FLinearColor &InLinearColor, FColor &OutColor, float &OutIntensity)
 

Function Documentation

◆ ComputeAndFixedColorAndIntensity()

void ComputeAndFixedColorAndIntensity ( const FLinearColor InLinearColor,
FColor OutColor,
float OutIntensity 
)

Computes a brightness and a fixed point color from a floating point color.

◆ ConvertFLinearColorsToFColorSRGB()

void ConvertFLinearColorsToFColorSRGB ( const FLinearColor InLinearColors,
FColor OutColorsSRGB,
int64  InCount 
)

Convert multiple FLinearColors to sRGB FColor; array version of FLinearColor::ToFColorSRGB.

Parameters
InLinearColorsPointer to one or more FLinearColors to convert.
OutColorsSRGBPointer to one or more FColors that receive the results.
InCountNumber of colors to convert.