#include <Color.h>
Definition at line 376 of file Color.h.
◆ FColor() [1/5]
FORCEINLINE FColor::FColor |
( |
| ) |
|
|
inline |
◆ FColor() [2/5]
◆ FColor() [3/5]
◆ FColor() [4/5]
FORCEINLINE FColor::FColor |
( |
uint32 | InColor | ) |
|
|
inlineexplicit |
◆ FColor() [5/5]
Please use .ToFColor(true) on FLinearColor if you wish to convert from FLinearColor to FColor, with proper sRGB conversion applied.
Note: Do not implement or make public. We don't want people needlessly and implicitly converting between FLinearColor and FColor. It's not a free conversion.
◆ DWColor() [1/2]
uint32 & FColor::DWColor |
( |
void | | ) |
|
|
inline |
◆ DWColor() [2/2]
const uint32 & FColor::DWColor |
( |
void | | ) |
const |
|
inline |
◆ FromHex()
Creates a color value from the given hexadecimal string.
Supported formats are: RGB, RRGGBB, RRGGBBAA, #RGB, #RRGGBB, #RRGGBBAA
- Parameters
-
HexString | - The hexadecimal string. |
- Returns
- The corresponding color value.
- See also
- ToHex
◆ FromRGBE()
◆ GCC_ALIGN()
uint8 B FColor::GCC_ALIGN |
( |
4 | | ) |
|
◆ MakeFromColorTemperature()
static FColor FColor::MakeFromColorTemperature |
( |
float | Temp | ) |
|
|
static |
Converts temperature in Kelvins of a black body radiator to RGB chromaticity.
◆ MakeRandomColor()
static FColor FColor::MakeRandomColor |
( |
| ) |
|
|
static |
Makes a random but quite nice color.
◆ MakeRedToGreenColorFromScalar()
static FColor FColor::MakeRedToGreenColorFromScalar |
( |
float | Scalar | ) |
|
|
static |
Makes a color red->green with the passed in scalar (e.g. 0 is red, 1 is green)
◆ operator!=()
FORCEINLINE bool FColor::operator!= |
( |
const FColor & | C | ) |
const |
|
inline |
◆ operator+=()
FORCEINLINE void FColor::operator+= |
( |
const FColor & | C | ) |
|
|
inline |
◆ operator==()
FORCEINLINE bool FColor::operator== |
( |
const FColor & | C | ) |
const |
|
inline |
◆ ReinterpretAsLinear()
FORCEINLINE FLinearColor FColor::ReinterpretAsLinear |
( |
| ) |
const |
|
inline |
Reinterprets the color as a linear color.
- Returns
- The linear color representation.
Definition at line 479 of file Color.h.
◆ ToPackedABGR()
FORCEINLINE uint32 FColor::ToPackedABGR |
( |
| ) |
const |
|
inline |
Gets the color in a packed uint32 format packed in the order ABGR.
Definition at line 495 of file Color.h.
◆ ToPackedARGB()
FORCEINLINE uint32 FColor::ToPackedARGB |
( |
| ) |
const |
|
inline |
Gets the color in a packed uint32 format packed in the order ARGB.
Definition at line 487 of file Color.h.
◆ ToPackedBGRA()
FORCEINLINE uint32 FColor::ToPackedBGRA |
( |
| ) |
const |
|
inline |
Gets the color in a packed uint32 format packed in the order BGRA.
Definition at line 511 of file Color.h.
◆ ToPackedRGBA()
FORCEINLINE uint32 FColor::ToPackedRGBA |
( |
| ) |
const |
|
inline |
Gets the color in a packed uint32 format packed in the order RGBA.
Definition at line 503 of file Color.h.
◆ WithAlpha()
- Returns
- a new FColor based of this color with the new alpha value. Usage: const FColor& MyColor = FColorList::Green.WithAlpha(128);
Definition at line 469 of file Color.h.
The documentation for this struct was generated from the following file:
- C:/Users/lachl/Downloads/ArkServerAPI_NEW/ASE/AseApi-main/version/Core/Public/API/UE/Math/Color.h