FMassInt16Vector2D

Vector2D encoded in int16, 1cm accuracy.

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 FMassInt16Vector2D

Remarks

Vector2D encoded in int16, 1cm accuracy.

Variables

Name Description

Protected variable UProperty Transient

int16

 

X

Protected variable UProperty Transient

int16

 

Y

Constructors

Name Description

Public function

FMassInt16Vector2D()

Public function

FMassInt16Vector2D

(
    const FVector2D& InVector
)

Public function

FMassInt16Vector2D

(
    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
)