FLinearOrSrgbColor

Stores a linear or srb color without converting between the two. Only one is valid at a time

Windows
MacOS
Linux

References

Module

DetailCustomizations

Header

/Engine/Source/Editor/DetailCustomizations/Public/Customizations/ColorStructCustomization.h

Include

#include "Customizations/ColorStructCustomization.h"

Syntax

struct FLinearOrSrgbColor

Remarks

Stores a linear or srb color without converting between the two. Only one is valid at a time

Constructors

Name Description

Public function

FLinearOrSrgbColor

(
    const FLinearColor& InLinearColor
)

Public function

FLinearOrSrgbColor

(
    const FColor& InSrgbColor
)

Functions

Name Description

Public function Const

FLinearColor

 

GetLinear()

Public function Const

FColor

 

GetSrgb()

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