TVector2::TVector2

Constructs a vector from an [FIntPoint](API\Runtime\Core\Math\FIntPoint).

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/Vector2D.h

Include

#include "Math/Vector2D.h"

Syntax

TVector2
(
    FIntPoint InPos
)

Remarks

Constructs a vector from an FIntPoint.

Parameters

Parameter

Description

InPos

Integer point used to set this vector.