VectorDot4

Calculates the dot4 product of two vectors and returns a vector with the result in all 4 components.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/UnrealMathFPU.h"

Syntax

VectorRegister VectorDot4
(
    const VectorRegister & Vec1,
    const VectorRegister & Vec2
)

Remarks

Calculates the dot4 product of two vectors and returns a vector with the result in all 4 components. Only really efficient on Xbox 360.

Returns

d = dot4(Vec1.xyzw, Vec2.xyzw), VectorRegister( d, d, d, d )

Parameters

Parameter

Description

Vec1

1st vector

Vec2

2nd vector

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