TVector2::GetSignVector

Get a copy of the vector as sign only.

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< T > GetSignVector() const

Remarks

Get a copy of the vector as sign only. Each component is set to +1 or -1, with the sign of zero treated as +1.

Parameters

Parameter

Description

A

copy of the vector with each component set to +1 or -1