TVector2::TVector2

Constructs a vector from an FVector. Copies the X and Y components from the FVector.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Math/Vector2D.h"

Source

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

Syntax

TVector2
(
    const TVector< T > & V
)

Remarks

Constructs a vector from an FVector. Copies the X and Y components from the FVector.

Parameters

Parameter

Description

V

Vector to copy from.