Navigation
API > API/Runtime > API/Runtime/Engine
The value of a single component within FValue. The actual type of the component is only known by FValue::Type
| Name | FValueComponent |
| Type | union |
| Header File | /Engine/Source/Runtime/Engine/Public/Shader/ShaderTypes.h |
| Include Path | #include "Shader/ShaderTypes.h" |
Syntax
union FValueComponent
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Shader/ShaderTypes.h | |||
FValueComponent
(
float InValue |
Shader/ShaderTypes.h | ||
FValueComponent
(
double InValue |
Shader/ShaderTypes.h | ||
FValueComponent
(
int32 InValue |
Shader/ShaderTypes.h | ||
FValueComponent
(
bool InValue |
Shader/ShaderTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Bool | uint8 | Shader/ShaderTypes.h | ||
| Double | double | Shader/ShaderTypes.h | ||
| Float | float | Shader/ShaderTypes.h | ||
| Int | int32 | Shader/ShaderTypes.h | ||
| Packed | uint64 | Shader/ShaderTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AsBool() |
'Bool' is stored as uint8 to avoid changing on different compilers | Shader/ShaderTypes.h | |
const TCHAR * ToString
(
EValueComponentType Type, |
Shader/ShaderTypes.h |