VectorNegateMultiplyAdd

Multiplies two vectors (component-wise), negates the results and adds it to the third vector i.e. -AB + C = C - AB

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/UnrealMathSSE.h"

Syntax

VectorRegister VectorNegateMultiplyAdd
(
    VectorRegister Vec1,
    VectorRegister Vec2,
    VectorRegister Vec3
)

Remarks

Multiplies two vectors (component-wise), negates the results and adds it to the third vector i.e. -AB + C = C - AB

Returns

Parameters

Parameter

Description

Vec1

1st vector

Vec2

2nd vector

Vec3

3rd 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