FTwoVectors::operator[]

Get a specific component from the pair.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/TwoVectors.h"

Syntax

float & operator[]
(
    int32 i
)

Remarks

Get a specific component from the pair.

Returns

Reference to the specified component.

Parameters

Parameter

Description

i

The index of the component, even indices are for the first vector, odd ones are for the second. Returns index 5 if out of range.

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