FColor::ReinterpretAsLinear

Reinterprets the color as a linear color.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Math/Color.h"

Syntax

FLinearColor ReinterpretAsLinear() const

Remarks

Reinterprets the color as a linear color. This is the correct dequantizer for QuantizeRound. This matches the GPU spec conversion for U8<->float

Returns

The linear color representation.