FLinearColor::FromSRGBColor

Converts an [FColor](API\Runtime\Core\Math\FColor) coming from an observed sRGB output, into a linear color.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/Color.h

Include

#include "Math/Color.h"

Source

/Engine/Source/Runtime/Core/Private/Math/Color.cpp

Syntax

static FLinearColor FromSRGBColor
(
    const FColor & Color
)

Remarks

Converts an FColor coming from an observed sRGB output, into a linear color.

Parameters

Parameter

Description

Color

The sRGB color that needs to be converted into linear space.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss