Navigation
API > API/Runtime > API/Runtime/RenderCore
A normal vector, quantized and packed into 32-bits.
| Name | FPackedNormal |
| Type | struct |
| Header File | /Engine/Source/Runtime/RenderCore/Public/PackedNormal.h |
| Include Path | #include "PackedNormal.h" |
Syntax
struct FPackedNormal
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPackedNormal
(
const FVector4d& InVector |
PackedNormal.h | ||
FPackedNormal
(
const FVector4f& InVector |
PackedNormal.h | ||
FPackedNormal
(
const FVector3d& InVector |
PackedNormal.h | ||
FPackedNormal
(
const FVector3f& InVector |
PackedNormal.h | ||
| PackedNormal.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Packed | uint32 | PackedNormal.h | ||
| Vector | union FPackedNormal | PackedNormal.h | ||
| W | int8 | PackedNormal.h | ||
| X | int8 | PackedNormal.h | ||
| Y | int8 | PackedNormal.h | ||
| Z | int8 | PackedNormal.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
VectorRegister4Float GetVectorRegister() |
PackedNormal.h | ||
void Set
(
const FVector& InVector |
Set functions. | PackedNormal.h | |
FVector ToFVector() |
PackedNormal.h | ||
FVector3f ToFVector3f() |
PackedNormal.h | ||
FVector4 ToFVector4() |
PackedNormal.h | ||
FVector4f ToFVector4f() |
PackedNormal.h | ||
FString ToString() |
PackedNormal.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FPackedNormal& B |
PackedNormal.h | ||
void operator=
(
const FVector3d& InVector |
PackedNormal.h | ||
void operator=
(
const FVector3f& InVector |
PackedNormal.h | ||
void operator=
(
const FVector4d& InVector |
PackedNormal.h | ||
void operator=
(
const FVector4f& InVector |
PackedNormal.h | ||
bool operator==
(
const FPackedNormal& B |
PackedNormal.h |