TVector2::Component

Gets a specific component of the 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 Component
(
    int32 Index
) const

Remarks

Gets a specific component of the vector.

Returns

Copy of the specified component.

Parameters

Parameter

Description

Index

The index of the component required.