TVector2::TVector2

Constructs a vector from an FVector4.

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/Vector4.h

Syntax

TVector2
(
    const TVector4< T > & V
)

Remarks

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

FVector2D inline functions

Parameters

Parameter

Description

V

Vector to copy from.