Navigation
API > API/Editor > API/Editor/DetailCustomizations > API/Editor/DetailCustomizations/FColorStructCustomization
Stores a linear or srb color without converting between the two. Only one is valid at a time
| Name | FLinearOrSrgbColor |
| Type | struct |
| Header File | /Engine/Source/Editor/DetailCustomizations/Public/Customizations/ColorStructCustomization.h |
| Include Path | #include "Customizations/ColorStructCustomization.h" |
Syntax
struct FLinearOrSrgbColor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLinearOrSrgbColor
(
const FLinearColor& InLinearColor |
Customizations/ColorStructCustomization.h | ||
FLinearOrSrgbColor
(
const FColor& InSrgbColor |
Customizations/ColorStructCustomization.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LinearColor | FLinearColor | Customizations/ColorStructCustomization.h | ||
| SrgbColor | FColor | Customizations/ColorStructCustomization.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLinearColor GetLinear() |
Customizations/ColorStructCustomization.h | ||
FColor GetSrgb() |
Customizations/ColorStructCustomization.h |