TVector2::Length

Get the length (magnitude) of this vector.

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

T Length() const

Remarks

Get the length (magnitude) of this vector.

Returns

The length of this vector.

See Also

Size - This function is a synonym forSize()