FVector4::operator[]

Access a specific component of the vector.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/Vector4.h

Include

#include "Math/Vector4.h"

Syntax

float & operator[]
(
    int32 ComponentIndex
)

Remarks

Access a specific component of the vector.

Returns

Reference to the desired component.

Parameters

Parameter

Description

ComponentIndex

The index of the component.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss