TVector2::Set

Set the values of the vector directly.

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

void Set
(
    T InX,
    T InY
)

Remarks

Set the values of the vector directly.

Parameters

Parameter

Description

InX

New X coordinate.

InY

New Y coordinate.