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
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback