UKismetMathLibrary::LinearColor_SetFromSRGB

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

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h

Include

#include "Kismet/KismetMathLibrary.h"

Source

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.inl

Syntax

static void LinearColor_SetFromSRGB
(
    FLinearColor & InOutColor,
    const FColor & InSRGB
)

Remarks

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

Parameters

Parameter

Description

InSRGB

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