FMassSnorm8Vector2D

Vector2D which components are in range [-1..1], encoded in signed bytes.

Choose your operating system:

Windows

macOS

Linux

References

Module

MassCommon

Header

/Engine/Plugins/Runtime/MassGameplay/Source/MassCommon/Public/MassCommonTypes.h

Include

#include "MassCommonTypes.h"

Syntax

USTRUCT()
struct FMassSnorm8Vector2D

Remarks

Vector2D which components are in range [-1..1], encoded in signed bytes.

Variables

Name Description

Protected variable UProperty Transient

int8

 

X

Protected variable UProperty Transient

int8

 

Y

Constructors

Name Description

Public function

FMassSnorm8Vector2D()

Public function

FMassSnorm8Vector2D

(
    const FVector2D& InVector
)

Public function

FMassSnorm8Vector2D

(
    const FVector& InVector
)

Functions

Name Description

Public function Const

FVector2D

 

Get()

Public function Const

FVector

 

GetVector

(
    const float InZ
)

Public function

void

 

Set

(
    const FVector2D& InVector
)

Constants

Name

Description

Scale