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

Include

#include "Math/Vector4.h"

Syntax

const T & Component
(
    int32 Index
) const

Remarks

Gets a specific component of the vector.

Returns

Reference to the component.

Parameters

Parameter

Description

Index

The index of the component.