FVector::DotProduct

Calculate the dot product of two vectors.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Vector.h"

Syntax

static float DotProduct
(
    const FVector & A,
    const FVector & B
)

Remarks

Calculate the dot product of two vectors.

Returns

The dot product.

Parameters

Parameter

Description

A

The first vector.

B

The second 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