Navigation
API > API/Runtime > API/Runtime/Core
RGBA Color made up of FFloat16
| Name | FFloat16Color |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Float16Color.h |
| Include Path | #include "Math/Float16Color.h" |
Syntax
class FFloat16Color
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructor | Math/Float16Color.h | ||
FFloat16Color
(
const FFloat16Color& Src |
Copy constructor. | Math/Float16Color.h | |
FFloat16Color
(
const FLinearColor& Src |
Constructor from a linear color. | Math/Float16Color.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| A | FFloat16 | Math/Float16Color.h | ||
| B | FFloat16 | Math/Float16Color.h | ||
| G | FFloat16 | Math/Float16Color.h | ||
| R | FFloat16 | Math/Float16Color.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FLinearColor GetFloats() |
Math/Float16Color.h | ||
uint16 * GetFourHalves () |
Get as a pointer to four half floats | Math/Float16Color.h | |
const uint16 * GetFourHalves () |
Math/Float16Color.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFloat16Color & operator=
(
const FFloat16Color& Src |
Assignment operator | Math/Float16Color.h | |
bool operator==
(
const FFloat16Color& Src |
Checks whether two colors are identical. | Math/Float16Color.h |