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