FLinearOrSrgbColor

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

Unreal Engine C++ API Reference > Editor > DetailCustomizations > Customizations > FColorStructCustomization

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

Type Name Description
  FLinearOrSrgbColor ( const FLinearColor& InLinearColor )  
  FLinearOrSrgbColor ( const FColor& InSrgbColor )  

Functions

Type Name Description
FLinearColor GetLinear ()  
FColor GetSrgb ()  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library