FVector4::Component

Gets 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 & Component
(
    int32 Index
)

Remarks

Gets a specific component of the vector.

Returns

Reference to the component.

Parameters

Parameter

Description

Index

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