FPackedNormal

A normal vector, quantized and packed into 32-bits.

Windows
MacOS
Linux

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

Name Description

Public variable

uint32

 

Packed

Public variable

union FPackedNo...

 

Vector

Public variable

int8

 

W

Public variable

int8

 

X

Public variable

int8

 

Y

Public variable

int8

 

Z

Constructors

Name Description

Public function

FPackedNormal()

Public function

FPackedNormal

(
    const FVector& InVector
)

Public function

FPackedNormal

(
    const FVector4& InVector
)

Functions

Name Description

Public function Const

VectorRegist...

 

GetVectorRegister()

Public function

void

 

Set

(
    const FVector& InVector
)

Set functions.

Public function Const

FVector

 

ToFVector()

Public function Const

FVector4

 

ToFVector4()

Public function Const

FString

 

ToString()

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FPackedNormal& B
)

Public function

void

 

operator=

(
    const FVector& InVector
)

Public function

void

 

operator=

(
    const FVector4& InVector
)

Public function Const

bool

 

operator==

(
    const FPackedNormal& B
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss