TVector4::operator[]

Access 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

T operator[]
(
    int32 ComponentIndex
) const

Remarks

Access a specific component of the vector.

Returns

Copy of the desired component.

Parameters

Parameter

Description

ComponentIndex

The index of the component.